Expand Minimize
This topic has not yet been rated - Rate this topic

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




Build Date:

2012-08-02
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.