ProtocolSocketTryFindServiceT Method |
Searches for an object that implements a specific API, or null.
Only searches on this ProtocolInstance, and does not create the service if it hasn't already been created.
Namespace:
Demo3D.Net
Assembly:
Demo3D.IO (in Demo3D.IO.dll) Version: 11.0.0.7658
Syntaxpublic T TryFindService<T>()
where T : class
Type Parameters
- T
- The service to find.
Return Value
Type:
TThe service implementation (or null).
Remarks
The same as FindService(ServiceBindingFlags.DeclaredOnly | ServiceBindingFlags.DontCreate).
See Also