Click or drag to resize

ProtocolSocketFindService(Type, ServiceBindingFlags, String) 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: 19.00.00
Syntax
C#
public virtual Object? FindService(
	Type serviceType,
	ServiceBindingFlags bindingFlags = ServiceBindingFlags.Default,
	string? channelName = null
)

Parameters

serviceType  Type
The service to find.
bindingFlags  ServiceBindingFlags  (Optional)
Flags to direct the search for the requested service.
channelName  String  (Optional)
Specific channel to search, or null for the default channel.

Return Value

Object
The service implementation (or null).
See Also