ProtocolInstanceTryCreateService Method |
Returns an object that implements a specific API, or null.
For example, an IO API such as IPacketIOService.
Namespace: Demo3D.NetAssembly: Demo3D.IO (in Demo3D.IO.dll) Version: 19.00.00
Syntaxprotected 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
ObjectThe service implementation (or null).
See Also