Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ConvertSchemaStreamToCodeSourceStream Method (Boolean, String, Stream, ArrayList)

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

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.

NoteNote

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft