[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
Icon | Type | Description |
---|---|---|
![]() | PublishManager |
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()); ... } } |
![]() | PubSubConnectionFailedException |
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.
|
![]() | PubSubException |
The exception that is thrown when an error occurs during publish/subscribe. See
the inner exception.
|
![]() | PubSubInitializationException |
The exception that is thrown when an error occurs during publish/subscribe initialization.
See the inner exception.
|
![]() | PubSubInsufficientMemoryException |
The exception that is thrown when there is insufficient memory to instantiate the object.
|
![]() | PubSubQueueDoesNotExistException |
The exception that is thrown when the event system service is not running.
|
![]() | PubSubQueueFullException |
The exception that is thrown when the event system queue is full.
|
![]() | SubscriptionManager |
This class is used to subscribe to events.
|
Interfaces
Icon | Type | Description |
---|---|---|
![]() | ISubscriptionCallback |
The ISubscriptionCallback interface is implemented by an event subscriber class. The
SubscriptionCallback method is then called to deliver events to the application.
|
Delegates
Icon | Type | Description |
---|---|---|
![]() | Callback |
Defines the callback method for delivering events to an application.
|