MetaData Class

MetaData Class

 

Provides methods that allow you to work with XML schema.

Namespace:   System.Runtime.Remoting.MetadataServices
Assembly:  System.Runtime.Remoting (in System.Runtime.Remoting.dll)

System.Object
  System.Runtime.Remoting.MetadataServices.MetaData

type MetaData = class end

NameDescription
System_CAPS_pubmethodMetaData()

Creates an instance of MetaData.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticConvertCodeSourceFileToAssemblyFile(String, String, String)

Compiles a specified code source file into a runtime assembly file.

System_CAPS_pubmethodSystem_CAPS_staticConvertCodeSourceStreamToAssemblyFile(ArrayList, String, String)

Compiles specified code source streams into a run-time assembly file.

System_CAPS_pubmethodSystem_CAPS_staticConvertSchemaStreamToCodeSourceStream(Boolean, String, Stream, ArrayList)

Converts the specified schema definition into C# proxy source code.

System_CAPS_pubmethodSystem_CAPS_staticConvertSchemaStreamToCodeSourceStream(Boolean, String, Stream, ArrayList, String)

Converts the specified schema definition into C# proxy source code for a remote object that is located at the specified URL.

System_CAPS_pubmethodSystem_CAPS_staticConvertSchemaStreamToCodeSourceStream(Boolean, String, Stream, ArrayList, String, String)

Converts the specified schema definition into C# proxy source code for a remote object that is located at the specified URL and in the provided class namespace.

System_CAPS_pubmethodSystem_CAPS_staticConvertTypesToSchemaToFile(ServiceType[], SdlType, String)

Converts the specified service types to XML schema, and writes it to a file that is specified by name.

System_CAPS_pubmethodSystem_CAPS_staticConvertTypesToSchemaToFile(Type[], SdlType, String)

Converts the specified object types to XML schema, and writes it to a file that is specified by name.

System_CAPS_pubmethodSystem_CAPS_staticConvertTypesToSchemaToStream(ServiceType[], SdlType, Stream)

Converts the specified service types to XML schema, and writes it to a specified stream.

System_CAPS_pubmethodSystem_CAPS_staticConvertTypesToSchemaToStream(Type[], SdlType, Stream)

Converts the specified object types to XML schema, and writes it to a specified stream.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticRetrieveSchemaFromUrlToFile(String, String)

Downloads the XML schema from a URL, and writes it to the specified file.

System_CAPS_pubmethodSystem_CAPS_staticRetrieveSchemaFromUrlToStream(String, Stream)

Downloads the XML schema from a URL, and writes it to the specified stream.

System_CAPS_pubmethodSystem_CAPS_staticSaveStreamToFile(Stream, String)

Saves the input stream to a file with the specified name.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

The MetaData class provides methods that allow you to generate Web Services Description Language (WSDL) from type information, convert an XML Schema into a code stream, and compile the code stream into an assembly. This functionality is also present in the Soapsuds Tool (Soapsuds.exe).

.NET Framework
Available since 1.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft