Return a new ListenerDef instance.

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

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
)
F#
static member Create : 
        timeScope : ListenerDef..::..TimeScope * 
        distributionScope : ListenerDef..::..DistributionScope -> ListenerDef 

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

Type: ListenerDef
A new ListenerDef instance

See Also