GigaSpaces XAP.NET Documentation
CreateContainer<(Of <(TData>)>) Method (spaceProxy, attributedListener)
Class LibraryGigaSpaces.XAP.EventsEventListenerContainerFactoryCreateContainer<(Of <(TData>)>)(ISpaceProxy, Object)
Creates an IEventListenerContainer<(Of <(TData>)>) from the supplied listener instance, the listener class should be marked with the appropriate NotifyEventDrivenAttribute or PollingEventDrivenAttribute attribute. By default, if the listener class is not marked with an EventDrivenAttribute attribute, a PollingEventListenerContainer<(Of <(TData>)>) will be created
Declaration Syntax
C#Visual BasicVisual C++J#
public static IEventListenerContainer<TData> CreateContainer<TData>(
	ISpaceProxy spaceProxy,
	Object attributedListener
)
Public Shared Function CreateContainer(Of TData) ( _
	spaceProxy As ISpaceProxy, _
	attributedListener As Object _
) As IEventListenerContainer(Of TData)
public:
generic<typename TData>
static IEventListenerContainer<TData>^ CreateContainer(
	ISpaceProxy^ spaceProxy, 
	Object^ attributedListener
)
J# supports the use of generic APIs, but not the declaration of new ones.
Generic Template Parameters
TData
Container data type
Parameters
spaceProxy (ISpaceProxy)
The space proxy to be used for space events listening operations.
attributedListener (Object)
The listener instance that configured the container and listen for events
Return Value

Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: 9.5.2.8900 (9.5.2.8900)