Class MethodTestingClientServiceHostExtensions
Inheritance
System.Object
MethodTestingClientServiceHostExtensions
Namespace: System.ServiceModel
Assembly: Copper.Conventions.Method.Testing.Client.dll
Syntax
public static class MethodTestingClientServiceHostExtensions
Methods
View SourceAddMexEndpoint(ServiceHost, String)
Adds a MEX endpoint to the service host.
Declaration
public static ServiceHost AddMexEndpoint(this ServiceHost serviceHost, string address)
Parameters
| Type | Name | Description |
|---|---|---|
| ServiceHost | serviceHost | The service host. |
| System.String | address | The address. |
Returns
| Type | Description |
|---|---|
| ServiceHost |
IncludeExceptionDetailInFaults(ServiceHost)
Configures the service host to include exception detail in faults.
Declaration
public static ServiceHost IncludeExceptionDetailInFaults(this ServiceHost serviceHost)
Parameters
| Type | Name | Description |
|---|---|---|
| ServiceHost | serviceHost | The service host. |
Returns
| Type | Description |
|---|---|
| ServiceHost |