[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Assembly: PubSubMgr (PubSubMgr)
PublishManager is used by applcations to publish events.
Namespace: Microsoft.WebSolutionsPlatform.Event.PubSubManager
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()); ... } }
Assembly: PubSubMgr (PubSubMgr)
Syntax
Visual Basic (Declaration) |
---|
Public Class PublishManager _ Implements IDisposable |
C# |
---|
public class PublishManager : IDisposable |
C++ |
---|
public ref class PublishManager : IDisposable |
Methods
Icon | Type | Description |
---|---|---|
![]() | Dispose() |
Dispose the object
|
![]() | Dispose(Boolean) |
Dispose the object
|
![]() | Equals(Object) | |
![]() | Finalize() |
Destructor
|
![]() | GetHashCode() | Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table. |
![]() | GetType() | Gets the Type of the current instance. |
![]() | MemberwiseClone() | Creates a shallow copy of the current Object. |
![]() | Publish(Byte[]()) |
Publishes an event to the event service
|
![]() | ToString() |
Constructors
Icon | Type | Description |
---|---|---|
![]() | PublishManagerNew() |
Constructor
|
![]() | PublishManagerNew(UInt32) |
Constructor
|
Properties
Icon | Type | Description |
---|---|---|
![]() | QueueSize |
Size in bytes of the SharedQueue
|
![]() | RetryAttempts |
Number of times to retry a failed enqueue request before returning a fail to the application
|
![]() | RetryPause |
Number of milliseconds to wait before retrying an enqueue request
|
![]() | Timeout |
Timeout for publishing events
|