[This is preliminary documentation and is subject to change.]
Register a Subscriber message handler with this zone to process SIF_Event
messages for the specified object type. This method may be called
repeatedly for each SIF Data Object type the agent subscribes to on
this zone.
| C# | Visual Basic | Visual C++ |
void SetSubscriber( ISubscriber subscriber, IElementDef objectType, ProvisioningFlags flags )
Sub SetSubscriber ( _ subscriber As ISubscriber, _ objectType As IElementDef, _ flags As ProvisioningFlags _ )
void SetSubscriber ( ISubscriber^ subscriber, IElementDef^ objectType, ProvisioningFlags flags )
- subscriber (ISubscriber)
- An object that implements the
CopyC#interface to respond to SIF_Event notifications received by the agent, where the SIF object type referenced by the request matches the specified objectType. This Subscriber will be called whenever a SIF_Event is received on this zone and no other object in the message dispatching chain has processed the message.Subscriber
- objectType (IElementDef)
- A constant from the SifDtd class that identifies a SIF Data Object type.
- flags (ProvisioningFlags)
- Specify
CopyC#to register the agent as a subscriber of the object type. The Adk will send a SIF_Subscribe message after registering with this zone.AdkFlags.PROV_SUBSCRIBE