MetaData.ConvertSchemaStreamToCodeSourceStream Method (Boolean, String, Stream, ArrayList)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

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

Parameters

clientProxy
Type: System.Boolean

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
Type: System.String

The directory where the new C# source code files with the proxy are created.

inputStream
Type: System.IO.Stream

The input stream that contains the schema definition in Web Services Description Language (WSDL) format.

outCodeStreamList
Type: System.Collections.ArrayList

The list of file names for the code streams that are generated. Note that the ConvertSchemaStreamToCodeSourceStream method can create multiple source code streams.

System_CAPS_noteNote

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

.NET Framework
Available since 1.1
Return to top
Show: