SIFWorks ADK 2.0
SetSubscriber Method (subscriber, objectType, flags)
NamespacesEdustructures.SifWorksIZoneSetSubscriber(ISubscriber, IElementDef, ProvisioningFlags)

[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.
Declaration Syntax
C#Visual BasicVisual 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
)
Parameters
subscriber (ISubscriber)
An object that implements the
CopyC#
Subscriber
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.
objectType (IElementDef)
A constant from the SifDtd class that identifies a SIF Data Object type.
flags (ProvisioningFlags)
Specify
CopyC#
AdkFlags.PROV_SUBSCRIBE
to register the agent as a subscriber of the object type. The Adk will send a SIF_Subscribe message after registering with this zone.

Assembly: Edustructures.SifWorks.Adk (Module: Edustructures.SifWorks.Adk) Version: 2.0.0.10