TraceService Class
public static class TraceServiceNo documentation is available.
Nested types
| Name | Description |
|---|---|
| TraceService.TraceServiceBase | Base class for server-side implementations of TraceService |
| TraceService.TraceServiceClient | Client for TraceService |
Properties
| Name | Description |
|---|---|
| Descriptor | Service descriptor |
Descriptor
Service descriptor
public static ServiceDescriptor Descriptor { get; }Property value
ServiceDescriptor
Methods
| Name | Description |
|---|---|
| BindService(ServiceBinderBase, TraceService.TraceServiceBase) | Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice. |
| BindService(TraceService.TraceServiceBase) | Creates service definition that can be registered with a server |
BindService overloads
BindService(ServiceBinderBase, TraceService.TraceServiceBase)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.
public static void BindService(ServiceBinderBase serviceBinder, TraceService.TraceServiceBase serviceImpl)Parameters
serviceBinderServiceBinderBase- Service methods will be bound by calling
AddMethodon this object. serviceImplTraceService.TraceServiceBase- An object implementing the server-side handling logic.
BindService(TraceService.TraceServiceBase)
Creates service definition that can be registered with a server
public static ServerServiceDefinition BindService(TraceService.TraceServiceBase serviceImpl)Parameters
serviceImplTraceService.TraceServiceBase- An object implementing the server-side handling logic.
Returns
ServerServiceDefinition