Click or drag to resize

ProtocolInstanceTryCreateService Method

Returns an object that implements a specific API, or null. For example, an IO API such as IPacketIOService.

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

Parameters

channelInstance  ChannelInstance
The channel creating the service.
serviceType  Type
The service to find/create.
propertyBag  Object
The properties of the service.

Return Value

Object
The service implementation (or null).
See Also