[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Add a subscription for a specific event
Namespace: Microsoft.WebSolutionsPlatform.Event.PubSubManager
Assembly: PubSubMgr (PubSubMgr)
Syntax
Visual Basic (Declaration) |
---|
Public Sub AddSubscription ( _
eventType As Guid, _
localOnly As Boolean _
) |
C# |
---|
public void AddSubscription (
Guid eventType,
bool localOnly
) |
C++ |
---|
public:
void AddSubscription (
Guid eventType,
bool localOnly
) |
Parameters
- eventType (System.Guid)
- EventType being subscribed to
- localOnly (System.Boolean)
- Specifies if subscription is only for local machine or global