[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Syntax

Visual Basic (Declaration)
Namespace Microsoft.WebSolutionsPlatform.Event.PubSubManager
C#
namespace Microsoft.WebSolutionsPlatform.Event.PubSubManager
C++
namespace Microsoft.WebSolutionsPlatform.Event.PubSubManager

Classes

IconTypeDescription
public classPublishManager
PublishManager is used by applcations to publish events.
             class WorkerClass
             {
                 private static PublishManager pubMgr;
            
                 public WorkerClass()
                 {
                     pubMgr = new PublishManager(10000);
                 }
            
                 public void DoWork()
                 {
                     ...
            
                     WebpageEvent localEvent = new WebpageEvent();
                     localEvent.EventName = @"Test Event";
            
                     ...
            
                     pubMgr.Publish(localEvent.Serialize());
            
                     ...
                 }
             }
             
public classPubSubConnectionFailedException
The exception that is thrown when the process cannot connect to the event system queue. Check to see that the event system service is running.
public classPubSubException
The exception that is thrown when an error occurs during publish/subscribe. See the inner exception.
public classPubSubInitializationException
The exception that is thrown when an error occurs during publish/subscribe initialization. See the inner exception.
public classPubSubInsufficientMemoryException
The exception that is thrown when there is insufficient memory to instantiate the object.
public classPubSubQueueDoesNotExistException
The exception that is thrown when the event system service is not running.
public classPubSubQueueFullException
The exception that is thrown when the event system queue is full.
public classSubscriptionManager
This class is used to subscribe to events.

Interfaces

IconTypeDescription
public interfaceISubscriptionCallback
The ISubscriptionCallback interface is implemented by an event subscriber class. The SubscriptionCallback method is then called to deliver events to the application.

Delegates

IconTypeDescription
public delegateCallback
Defines the callback method for delivering events to an application.