Rediger

Del via


MetaData.ConvertSchemaStreamToCodeSourceStream Method

Definition

Converts a specified schema definition to C# source code proxy, which can then be compiled into a runtime proxy assembly.

Overloads

ConvertSchemaStreamToCodeSourceStream(Boolean, String, Stream, ArrayList)

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

ConvertSchemaStreamToCodeSourceStream(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.

ConvertSchemaStreamToCodeSourceStream(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.

ConvertSchemaStreamToCodeSourceStream(Boolean, String, Stream, ArrayList)

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

public:
 static void ConvertSchemaStreamToCodeSourceStream(bool clientProxy, System::String ^ outputDirectory, System::IO::Stream ^ inputStream, System::Collections::ArrayList ^ outCodeStreamList);
public static void ConvertSchemaStreamToCodeSourceStream (bool clientProxy, string outputDirectory, System.IO.Stream inputStream, System.Collections.ArrayList outCodeStreamList);
static member ConvertSchemaStreamToCodeSourceStream : bool * string * System.IO.Stream * System.Collections.ArrayList -> unit
Public Shared Sub ConvertSchemaStreamToCodeSourceStream (clientProxy As Boolean, outputDirectory As String, inputStream As Stream, outCodeStreamList As ArrayList)

Parameters

clientProxy
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
String

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

inputStream
Stream

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

outCodeStreamList
ArrayList

The list of file names for the code streams that are generated. Note that the ConvertSchemaStreamToCodeSourceStream(Boolean, String, Stream, ArrayList, String, String) method can create multiple source code streams.

Remarks

Note

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

Applies to

ConvertSchemaStreamToCodeSourceStream(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.

public:
 static void ConvertSchemaStreamToCodeSourceStream(bool clientProxy, System::String ^ outputDirectory, System::IO::Stream ^ inputStream, System::Collections::ArrayList ^ outCodeStreamList, System::String ^ proxyUrl);
public static void ConvertSchemaStreamToCodeSourceStream (bool clientProxy, string outputDirectory, System.IO.Stream inputStream, System.Collections.ArrayList outCodeStreamList, string proxyUrl);
static member ConvertSchemaStreamToCodeSourceStream : bool * string * System.IO.Stream * System.Collections.ArrayList * string -> unit
Public Shared Sub ConvertSchemaStreamToCodeSourceStream (clientProxy As Boolean, outputDirectory As String, inputStream As Stream, outCodeStreamList As ArrayList, proxyUrl As String)

Parameters

clientProxy
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
String

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

inputStream
Stream

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

outCodeStreamList
ArrayList

The list of file names for the code streams that are generated. Note that the ConvertSchemaStreamToCodeSourceStream(Boolean, String, Stream, ArrayList, String, String) method can create multiple source code streams.

proxyUrl
String

The URL where the target remote object that is represented by the new proxy will be located.

Remarks

Note

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

Applies to

ConvertSchemaStreamToCodeSourceStream(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.

public:
 static void ConvertSchemaStreamToCodeSourceStream(bool clientProxy, System::String ^ outputDirectory, System::IO::Stream ^ inputStream, System::Collections::ArrayList ^ outCodeStreamList, System::String ^ proxyUrl, System::String ^ proxyNamespace);
public static void ConvertSchemaStreamToCodeSourceStream (bool clientProxy, string outputDirectory, System.IO.Stream inputStream, System.Collections.ArrayList outCodeStreamList, string proxyUrl, string proxyNamespace);
static member ConvertSchemaStreamToCodeSourceStream : bool * string * System.IO.Stream * System.Collections.ArrayList * string * string -> unit
Public Shared Sub ConvertSchemaStreamToCodeSourceStream (clientProxy As Boolean, outputDirectory As String, inputStream As Stream, outCodeStreamList As ArrayList, proxyUrl As String, proxyNamespace As String)

Parameters

clientProxy
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
String

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

inputStream
Stream

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

outCodeStreamList
ArrayList

The list of file names for the code streams that are generated. Note that the ConvertSchemaStreamToCodeSourceStream(Boolean, String, Stream, ArrayList, String, String) method can create multiple source code streams.

proxyUrl
String

The URL where the target remote object that is represented by the new proxy will be located.

proxyNamespace
String

The namespace of the newly created proxy.

Remarks

Note

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

Applies to