Click or drag to resize

ServiceProviderTryCreateService Method

Creates a new service for a protocol instance, or return null.

Namespace: Demo3D.Net
Assembly: Demo3D.IO (in Demo3D.IO.dll) Version: 19.00.00
Syntax
C#
protected abstract Object? TryCreateService(
	ProtocolInstance instance,
	ChannelInstance channelInstance,
	Type serviceType,
	Object? propertyBag
)

Parameters

instance  ProtocolInstance
The protocol instance requiring this service.
channelInstance  ChannelInstance
Instance of the channel creating the service.
serviceType  Type
The type of the service to create.
propertyBag  Object
The property bag containing configuration properties for this service (as returned by NewProperties).

Return Value

Object
The service implementation (or null).
See Also