ServiceMetadataBehavior

ServiceMetadataBehavior

Syntax

class ServiceMetadataBehavior : Behavior  
{  
  string ExternalMetadataLocation;  
  boolean HttpGetEnabled;  
  string HttpGetUrl;  
  boolean HttpsGetEnabled;  
  string HttpsGetUrl;  
};  

Methods

The ServiceMetadataBehavior class does not define any methods.

Properties

The ServiceMetadataBehavior class has the following properties:

ExternalMetadataLocation

Data type: string

Access type: Read-only

Sets the location to which the service redirects metadata requests.

HttpGetEnabled

Data type: boolean

Access type: Read-only

Controls whether the service publishes its WSDL at the address controlled by the HttpGetUrl attribute.

HttpGetUrl

Data type: string

Access type: Read-only

Sets the location at which the service WSDL is published for retrieval using HTTP.

HttpsGetEnabled

Data type: boolean

Access type: Read-only

Controls whether the service publishes its WSDL over HTTPS at the address controlled by the HttpsGetUrl attribute.

HttpsGetUrl

Data type: string

Access type: Read-only

Sets the location at which the service WSDL is published for retrieval using HTTPS.

Requirements

MOF Declared in Servicemodel.mof.
Namespace Defined in root\ServiceModel

See also