ListenerDefCreate Method (ListenerDefTimeScope, ListenerDefDistributionScope) |
Return a new ListenerDef instance.
Namespace: Com.Tibco.As.Space.ListenerAssembly: TIBCO.ActiveSpaces.Common (in TIBCO.ActiveSpaces.Common.dll) Version: 2.0.0.0 (2.1.5.12)
Syntaxpublic static ListenerDef Create(
ListenerDefTimeScope timeScope,
ListenerDefDistributionScope distributionScope
)
Public Shared Function Create (
timeScope As ListenerDefTimeScope,
distributionScope As ListenerDefDistributionScope
) As ListenerDef
public:
static ListenerDef^ Create(
ListenerDefTimeScope timeScope,
ListenerDefDistributionScope distributionScope
)
static member Create :
timeScope : ListenerDefTimeScope *
distributionScope : ListenerDefDistributionScope -> ListenerDef
Parameters
- timeScope
- Type: Com.Tibco.As.Space.ListenerListenerDefTimeScope
ALL, SNAPSHOT, NEW and NEW_EVENTS - distributionScope
- Type: Com.Tibco.As.Space.ListenerListenerDefDistributionScope
DISTRIBUTED or NON_DISTRIBUTED
Return Value
Type:
ListenerDef
A new ListenerDef instance
See Also