Represents a complete, in-memory description of the service, including all the endpoints for the service and specifications for their respective addresses, bindings, contracts and behaviors.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Initializes a new instance of theclass.
Initializes a new instance of theclass from a specified enumeration of service endpoints.
Gets the behaviors associated with the service.
Gets or sets the name of the <service> configuration element.
Gets the collection of endpoints from the service description.
Gets or sets the name of the service.
Gets or sets the namespace for the service.
Gets the type of the service.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Serves as the default hash function. (Inherited from Object.)
Returns a service description initialized with a specified service object.
Returns a service description initialized with a specified service type.
Returns a string that represents the current object.(Inherited from Object.)
The information contained in theis used by the Windows Communication Foundation (WCF) system to building the run-time components for the service.
Use this method when adding custom behaviors to extend ServiceHost. Programmatically, you must Add(T) the custom service behavior to the Behaviors prior to when you call the Open method on the ServiceHost object.
The GetService(Object^) and GetService(Type^) methods are available to reflect on behaviors using the Windows Communication Foundation (WCF) programming model when replacing ServiceHostBase with you own hosting mechanism.
Export metadata about a service endpoint by passing ServiceEndpoint as a parameter to ExportEndpoint(ServiceEndpoint^). After calling this method, or one of the other export methods provided by WsdlExporter, use the GeneratedWsdlDocuments property to return the collection of ServiceDescription objects.
Available since 3.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.