MetaData.ConvertTypesToSchemaToStream Method (ServiceType[], SdlType, Stream)

 

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

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

public static void ConvertTypesToSchemaToStream(
	ServiceType[] serviceTypes,
	SdlType sdlType,
	Stream outputStream
)

Parameters

serviceTypes
Type: System.Runtime.Remoting.MetadataServices.ServiceType[]

The ServiceType instances to convert to XML schema.

sdlType
Type: System.Runtime.Remoting.MetadataServices.SdlType

The type of service description language to use for the XML schema.

outputStream
Type: System.IO.Stream

The Stream that the schema is written to.

A ServiceType instance allows you to associate a URL with an object Type.

.NET Framework
Available since 1.1
Return to top
Show: