ServiceMetadataExtension ServiceMetadataExtension ServiceMetadataExtension ServiceMetadataExtension Class

Definition

Provides the implementation for the metadata publishing protocols.

public ref class ServiceMetadataExtension : System::ServiceModel::IExtension<System::ServiceModel::ServiceHostBase ^>
public class ServiceMetadataExtension : System.ServiceModel.IExtension<System.ServiceModel.ServiceHostBase>
type ServiceMetadataExtension = class
    interface IExtension<ServiceHostBase>
Public Class ServiceMetadataExtension
Implements IExtension(Of ServiceHostBase)
Inheritance
ServiceMetadataExtensionServiceMetadataExtensionServiceMetadataExtensionServiceMetadataExtension
Implements

Remarks

The ServiceMetadataExtension is configured and used by configuring a service with the System.ServiceModel.Description.ServiceMetadataBehavior.

You can also use the ServiceMetadataExtension class to get the service's metadata at runtime by accessing the Metadata property.

Constructors

ServiceMetadataExtension() ServiceMetadataExtension() ServiceMetadataExtension() ServiceMetadataExtension()

Creates an instance of a ServiceMetadataExtension object.

Properties

Metadata Metadata Metadata Metadata

Gets the service's metadata at runtime.

SingleWsdl SingleWsdl SingleWsdl SingleWsdl

Gets the single WSDL used by the service.

Explicit Interface Implementations

IExtension<ServiceHostBase>.Attach(ServiceHostBase) IExtension<ServiceHostBase>.Attach(ServiceHostBase) IExtension<ServiceHostBase>.Attach(ServiceHostBase) IExtension<ServiceHostBase>.Attach(ServiceHostBase)

Enables an object to participate in custom behavior. Called when the runtime attaches the extension to an instance of the ServiceHostBase class. For internal use only.

IExtension<ServiceHostBase>.Detach(ServiceHostBase) IExtension<ServiceHostBase>.Detach(ServiceHostBase) IExtension<ServiceHostBase>.Detach(ServiceHostBase) IExtension<ServiceHostBase>.Detach(ServiceHostBase)

Enables an object to participate in custom behavior. Called when the runtime detaches the extension from an instance of the InstanceContext class. For internal use only.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to