Return a new ListenerDef instance.

Namespace: Com.Tibco.As.Space.Listener
Assembly: TIBCO.ActiveSpaces.Common (in TIBCO.ActiveSpaces.Common.dll) Version: 2.1.0.0 (2.1)

Syntax

C#
public static ListenerDef Create(
	ListenerDef..::..TimeScope timeScope,
	ListenerDef..::..DistributionScope distributionScope
)
Visual Basic
Public Shared Function Create ( _
	timeScope As ListenerDef..::..TimeScope, _
	distributionScope As ListenerDef..::..DistributionScope _
) As ListenerDef
Visual C++
public:
static ListenerDef^ Create(
	ListenerDef..::..TimeScope timeScope, 
	ListenerDef..::..DistributionScope distributionScope
)

Parameters

timeScope
Type: Com.Tibco.As.Space.Listener..::..ListenerDef..::..TimeScope
ALL, SNAPSHOT, NEW and NEW_EVENTS
distributionScope
Type: Com.Tibco.As.Space.Listener..::..ListenerDef..::..DistributionScope
DISTRIBUTED or NON_DISTRIBUTED

Return Value

A new ListenerDef instance

See Also