MetadataSection.CreateFromServiceDescription Method
.NET Framework 3.0
Returns a MetadataSection that contains the specified System.ServiceModel.Description.ServiceDescription.
Namespace: System.ServiceModel.Description
Assembly: System.ServiceModel (in system.servicemodel.dll)
Assembly: System.ServiceModel (in system.servicemodel.dll)
public static MetadataSection CreateFromServiceDescription ( ServiceDescription serviceDescription )
public static MetadataSection CreateFromServiceDescription ( ServiceDescription serviceDescription )
public static function CreateFromServiceDescription ( serviceDescription : ServiceDescription ) : MetadataSection
Not applicable.
Parameters
- serviceDescription
The System.ServiceModel.Description.ServiceDescription used to create a MetadataSection object.
Return Value
A MetadataSection that contains the specified System.ServiceModel.Description.ServiceDescription.Use this static factory method to quickly create a MetadataSection for a WSDL document. The Dialect property is assigned the value of ServiceDescriptionDialect and the Identifier property is assigned the value of the target namespace of the WSDL document.
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.