Try our conversational search powered by Generative AI!

Class WcfEventProvider

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. EventProvider implementation for sending/recieving events through WCF.

Inheritance
System.Object
WcfEventProvider
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Events.Providers
Assembly: EPiServer.Framework.AspNet.dll
Version: 11.20.7
Syntax
public class WcfEventProvider : EventProvider

Constructors

WcfEventProvider()

Declaration
public WcfEventProvider()

Methods

Initialize(String, NameValueCollection)

Initializes the provider.

Declaration
public override void Initialize(string name, NameValueCollection config)
Parameters
Type Name Description
System.String name

The friendly name of the provider

System.Collections.Specialized.NameValueCollection config

A collection of the name/value pairs representing the provider-specific attributes specified in the configuration for this provider.

Overrides

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()
Overrides

Extension Methods