|
| ServiceHost (params string[] baseAddresses) |
|
| ServiceHost (params Uri[] baseAddresses) |
|
| ServiceHost (Type serviceType, params Uri[] baseAddresses) |
|
| ServiceHost (T singleton, params Uri[] baseAddresses) |
|
void | EnableDiscovery () |
| Enable discovery for the service.
|
|
void | EnableMetadataExchange (bool enableHttpGet=true) |
| Enable metadata exchenge for the service.
|
|
void | AddAllMexEndPoints () |
| Adds metadata exchange encdpoint for all existing binding types.
|
|
void | SetIncludeExceptionDetailInFaults (bool include) |
| Sets a value that specifies whether to include managed exception information in the detail of SOAP faults returned to the client for debugging purposes. Set to true if the service should return managed exception information in the SOAP faults for client debugging purposes; otherwise, set to false. The default is false.
|
|
|
virtual T | Singleton [get] |
| Gets the singleton instance of the service.
|
|
bool | HasMexEndpoint [get] |
| Gets if the service has a metadata exchange endpoint.
|
|
◆ EnableMetadataExchange()
Enable metadata exchenge for the service.
- Parameters
-
◆ SetIncludeExceptionDetailInFaults()
Sets a value that specifies whether to include managed exception information in the detail of SOAP faults returned to the client for debugging purposes. Set to true if the service should return managed exception information in the SOAP faults for client debugging purposes; otherwise, set to false. The default is false.
- Parameters
-
The documentation for this class was generated from the following file:
- Src/Libraries/TPG.ServiceModel/ServiceHost.cs