WebReferenceOptions::Read Method (TextReader^, ValidationEventHandler^)

 

Returns a new instance of WebReferenceOptions based on the code generation options described in the specified TextReader.

Namespace:   System.Web.Services.Description
Assembly:  System.Web.Services (in System.Web.Services.dll)

public:
static WebReferenceOptions^ Read(
	TextReader^ reader,
	ValidationEventHandler^ validationEventHandler
)

Parameters

reader
Type: System.IO::TextReader^

The TextReader that contains the code generation options.

validationEventHandler
Type: System.Xml.Schema::ValidationEventHandler^

The ValidationEventHandler to be associated with the new instance of WebReferenceOptions.

Return Value

Type: System.Web.Services.Description::WebReferenceOptions^

A new instance of WebReferenceOptions based on the code generation options described in the specified TextReader.

.NET Framework
Available since 2.0
Return to top
Show: