Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ServiceMetadataBehavior

ServiceMetadataBehavior

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

The ServiceMetadataBehavior class does not define any methods.

The ServiceMetadataBehavior class has the following properties:

Aa751828.collapse_all(en-us,VS.110).gifExternalMetadataLocation

Data type: string

Access type: Read-only

Sets the location to which the service redirects metadata requests.

Aa751828.collapse_all(en-us,VS.110).gifHttpGetEnabled

Data type: boolean

Access type: Read-only

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

Aa751828.collapse_all(en-us,VS.110).gifHttpGetUrl

Data type: string

Access type: Read-only

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

Aa751828.collapse_all(en-us,VS.110).gifHttpsGetEnabled

Data type: boolean

Access type: Read-only

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

Aa751828.collapse_all(en-us,VS.110).gifHttpsGetUrl

Data type: string

Access type: Read-only

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

MOF

Declared in Servicemodel.mof.

Namespace

Defined in root\ServiceModel

Show:
© 2015 Microsoft