ServiceProviderTryCreateService Method |
Creates a new service for a protocol instance, or return null.
Namespace: Demo3D.NetAssembly: Demo3D.IO (in Demo3D.IO.dll) Version: 19.00.00
Syntaxprotected 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
ObjectThe service implementation (or null).
See Also