ServiceMetadataContractBehavior Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A contract behavior that enables you to specify whether or not to publish metadata for a given endpoint.
public ref class ServiceMetadataContractBehavior sealed : System::ServiceModel::Description::IContractBehavior
public sealed class ServiceMetadataContractBehavior : System.ServiceModel.Description.IContractBehavior
type ServiceMetadataContractBehavior = class
interface IContractBehavior
Public NotInheritable Class ServiceMetadataContractBehavior
Implements IContractBehavior
- Inheritance
-
ServiceMetadataContractBehavior
- Implements
You can use this feature to disable the publishing of endpoint metadata in your service's WSDL. This is particularly useful for endpoints consisting only of operations which don't take SOAP messages.
Service |
Initializes a new instance of the ServiceMetadataContractBehavior. |
Service |
Initializes a new instance of the ServiceMetadataContractBehavior. |
Metadata |
Gets or sets a value that specifies whether metadata generation should be disabled for the endpoint. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
To |
Returns a string that represents the current object. (Inherited from Object) |
IContract |
Configures binding elements to support the contract behavior. |
IContract |
Implements a modification of a client across a contract. |
IContract |
Implements a modification of the service runtime across a contract. |
IContract |
Confirms the contract and endpoint can support the contract behavior. |
Produto | Versões |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Comentários do .NET
O .NET é um projeto código aberto. Selecione um link para fornecer comentários: