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

 

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

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

public:
static WebReferenceOptions^ Read(
	XmlReader^ xmlReader,
	ValidationEventHandler^ validationEventHandler
)

Parameters

xmlReader
Type: System.Xml::XmlReader^

The XmlReader 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 XmlReader.

.NET Framework
Available since 2.0
Return to top
Show: