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: 11.0.0.7658
Syntax
C#
protected abstract Object TryCreateService(
	Type service,
	ProtocolInstance instance,
	Object propertyBag
)

Parameters

service
Type: SystemType
The type of the service to create.
instance
Type: Demo3D.NetProtocolInstance
The protocol instance requiring this service.
propertyBag
Type: SystemObject
The property bag containing configuration properties for this service (as returned by NewProperties).

Return Value

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