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: 10.0.0.0 (10.0.0.0)
Syntaxprotected virtual Object TryCreateService(
Type service,
Object propertyBag
)
Parameters
- service
- Type: SystemType
The service to find/create. - propertyBag
- Type: SystemObject
The properties of the service.
Return Value
Type:
ObjectThe service implementation (or null).
See Also