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 System.IO.TextReader.

Syntax

public static WebReferenceOptions Read (System.IO.TextReader reader, System.Xml.Schema.ValidationEventHandler validationEventHandler)

Parameters

reader
The System.IO.TextReader 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 System.IO.TextReader.

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