System.Runtime.Remoting.MetadataServices.MetaData.ConvertSchemaStreamToCodeSourceStream Method

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

Syntax

public static void ConvertSchemaStreamToCodeSourceStream (bool clientProxy, string outputDirectory, System.IO.Stream inputStream, ArrayList outCodeStreamList)

Parameters

clientProxy
Indicates the type of proxy to generate. If true, generates a simple proxy (also known as wrapped proxy) that automatically loads the channels, exposes all the methods of the remote object, and provides access to the channel properties. If false, generates a transparent proxy that exposes all the methods of the remote object.
outputDirectory
The directory where the new C# source code files with the proxy are created.
inputStream
The input stream that contains the schema definition in Web Services Description Language (WSDL) format.
outCodeStreamList
The list of file names for the code streams that are generated. Note that the MetaData.ConvertSchemaStreamToCodeSourceStream(bool, string, System.IO.Stream, ArrayList, string, string) method can create multiple source code streams.

Remarks

Note:

If files with the specified names already exist, they are overwritten.

Requirements

Namespace: System.Runtime.Remoting.MetadataServices
Assembly: System.Runtime.Remoting (in System.Runtime.Remoting.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0