System.Web.Services.Description.WebReferenceOptions.Read Method

Returns a new instance of System.Web.Services.Description.WebReferenceOptions based on the code generation options described in the specified stream.

Syntax

public static WebReferenceOptions Read (System.IO.Stream stream, System.Xml.Schema.ValidationEventHandler validationEventHandler)

Parameters

stream
The System.IO.Stream that contains the code generation options.
validationEventHandler
The System.Xml.Schema.ValidationEventHandler to be associated with the new instance of System.Web.Services.Description.WebReferenceOptions.

Returns

A new instance of System.Web.Services.Description.WebReferenceOptions based on the code generation options described in the specified stream.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Web.Services.Description
Assembly: System.Web.Services (in System.Web.Services.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0