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: 15.0.2.11458
Syntax
C#
protected virtual Object? TryCreateService(
	ChannelInstance channelInstance,
	Type serviceType,
	Object? propertyBag
)

Parameters

channelInstance
Type: Demo3D.NetChannelInstance
The channel creating the service.
serviceType
Type: SystemType
The service to find/create.
propertyBag
Type: SystemObject
The properties of the service.

Return Value

Type: Object
The service implementation (or null).
See Also