ChannelInstanceGetServiceT Method |
Returns an object that implements a specific API, or throws an exception.
For example, an IO API such as IPacketIOService.
Namespace: Demo3D.NetAssembly: Demo3D.IO (in Demo3D.IO.dll) Version: 19.01.00
Syntaxpublic T GetService<T>()
where T : class
Type Parameters
- T
- The service to find.
Return Value
TThe service implementation.
See Also