Class WcfEventProvider
EventProvider implementation for sending/recieving events through WCF.
Inherited Members
Namespace: EPiServer.Events.Providers
Assembly: EPiServer.Events.dll
Version: 8.11.0Syntax
public class WcfEventProvider : EventProvider
Constructors
WcfEventProvider()
Declaration
public WcfEventProvider()
Methods
Initialize(String, NameValueCollection)
Declaration
public override void Initialize(string name, NameValueCollection config)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Collections.Specialized.NameValueCollection | config |
InitializeAsync()
Override this method if the provider has some time consuming initialization that can be done in parallel with other initalization modules.
Declaration
public override Task InitializeAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Overrides
Remarks
This method will be called from Initialize(InitializationEngine) and then in InitComplete it will wait for the ongoing task to complete.
ReceiveMessage(EventMessage)
Receives the message from a remote source.
Declaration
public virtual void ReceiveMessage(EventMessage message)
Parameters
Type | Name | Description |
---|---|---|
EventMessage | message | The message. |
SendMessage(EventMessage)
Sends the provided message to other related sites.
Declaration
public override void SendMessage(EventMessage message)
Parameters
Type | Name | Description |
---|---|---|
EventMessage | message | The message to send. |
Overrides
Uninitialize()
Resets the provider into an uninitialized state. Called during the uninitailization phase of the InitializationEngine.
Declaration
public override void Uninitialize()