ServiceProviderTryCreateService Method |
Creates a new service for a protocol instance, or return null.
Namespace:
Demo3D.Net
Assembly:
Demo3D.IO (in Demo3D.IO.dll) Version: 15.0.2.11458
Syntaxprotected abstract Object? TryCreateService(
ProtocolInstance instance,
ChannelInstance channelInstance,
Type serviceType,
Object? propertyBag
)
Parameters
- instance
- Type: Demo3D.NetProtocolInstance
The protocol instance requiring this service. - channelInstance
- Type: Demo3D.NetChannelInstance
Instance of the channel creating the service. - serviceType
- Type: SystemType
The type of the service to create. - propertyBag
- Type: SystemObject
The property bag containing configuration properties for this service (as returned by NewProperties).
Return Value
Type:
ObjectThe service implementation (or null).
See Also