Maria GDK 4.7.0.84
Documentation of managed code in develop branch
Loading...
Searching...
No Matches
TPG.ServiceModel.ServiceHost< T > Class Template Reference
Inheritance diagram for TPG.ServiceModel.ServiceHost< T >:
TPG.ServiceModel.NoConfigServiceHost

Public Member Functions

 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.
 

Properties

virtual T Singleton [get]
 Gets the singleton instance of the service.
 
bool HasMexEndpoint [get]
 Gets if the service has a metadata exchange endpoint.
 

Member Function Documentation

◆ EnableMetadataExchange()

void TPG.ServiceModel.ServiceHost< T >.EnableMetadataExchange ( bool  enableHttpGet = true)
inline

Enable metadata exchenge for the service.

Parameters
enableHttpGet

◆ SetIncludeExceptionDetailInFaults()

void TPG.ServiceModel.ServiceHost< T >.SetIncludeExceptionDetailInFaults ( bool  include)
inline

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
include

The documentation for this class was generated from the following file: