ProtocolInstanceFindService Method (Type, ServiceBindingFlags, String) |
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: 15.0.2.11458
Syntaxpublic override sealed Object? FindService(
Type serviceType,
ServiceBindingFlags bindingFlags = ServiceBindingFlags.Default,
string? channelName = null
)
Parameters
- serviceType
- Type: SystemType
The service to find. - bindingFlags (Optional)
- Type: Demo3D.NetServiceBindingFlags
How to search for the service. - channelName (Optional)
- Type: SystemString
Specific channel to search, or null for the default channel.
Return Value
Type:
ObjectThe service implementation (or null).
See Also