GigaSpaces XAP.NET Documentation
Publish Method (service, types)
Class LibraryGigaSpaces.XAP.Remoting.HostingIServiceHostPublish(Object, array<Type>[]()[][])
Exports a service, only register it under the specified types.
Declaration Syntax
C#Visual BasicVisual C++J#
IServiceRegistration Publish(
	Object service,
	params Type[] types
)
Function Publish ( _
	service As Object, _
	ParamArray types As Type() _
) As IServiceRegistration
IServiceRegistration^ Publish(
	Object^ service, 
	... array<Type^>^ types
)
IServiceRegistration Publish(
	Object service,
	Type[] types
)
Parameters
service (Object)
Service to export.
types (array<Type>[]()[][])
Types under which to register the service.
Return Value
Service registration.

Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: 15.0.0.0 (15.0.0)