메소드 | 설명 | |
---|---|---|
ApplyDispatchBehavior ( System.ServiceModel.Description.ServiceDescription serviceDescription, ServiceHostBase serviceHostBase ) : void |
Provides the ability to change run-time property values or insert custom extension objects such as error handlers, message or parameter interceptors, security extensions, and other custom extension objects. Here we use it to hook up our ServiceHostBase extension that is responsible for setting up the metadata service to the runtime.
|
|
StaticMetadataBehavior ( ) : System |
Creates a new instance of StaticMetadataBehavior class.
|
|
StaticMetadataBehavior ( string metadataUrl, string rootMetadataFileLocation ) : System |
Creates a new instance of StaticMetadtaBehavior class.
|
|
Validate ( ServiceDescription serviceDescription, ServiceHostBase serviceHostBase ) : void |
Provides the ability to inspect the service host and the service description to confirm that the service can run successfully.
|
메소드 | 설명 | |
---|---|---|
AddBindingParameters ( System.ServiceModel.Description.ServiceDescription serviceDescription, ServiceHostBase serviceHostBase, Collection |
||
CanTranslateGetFullPathExceptionToInvalidOperation ( |
|
|
EnsureRootMetadataLocationsIsAnAbsolutePath ( ) : void |
|
|
GetAbsoluteMetadataServiceUri ( ) : |
Constructs the absolute metadata service Uri from the configured endpoint address.
|
|
GetMetadataServiceUri ( |
Creates the endpoint address Uri for metadata service based on host's http base address and what's configured as metadata service endpoint address.
|
public ApplyDispatchBehavior ( System.ServiceModel.Description.ServiceDescription serviceDescription, ServiceHostBase serviceHostBase ) : void | ||
serviceDescription | System.ServiceModel.Description.ServiceDescription | The service description. |
serviceHostBase | ServiceHostBase | The host that is currently being built. |
리턴 | void |
public StaticMetadataBehavior ( string metadataUrl, string rootMetadataFileLocation ) : System | ||
metadataUrl | string | |
rootMetadataFileLocation | string | |
리턴 | System |
public Validate ( ServiceDescription serviceDescription, ServiceHostBase serviceHostBase ) : void | ||
serviceDescription | ServiceDescription | The service description. |
serviceHostBase | ServiceHostBase | The service host that is currently being constructed. |
리턴 | void |