WebReferenceOptions.Read Method (TextReader, ValidationEventHandler)
.NET Framework (current version)
Returns a new instance of WebReferenceOptions based on the code generation options described in the specified TextReader.
Assembly: System.Web.Services (in System.Web.Services.dll)
Public Shared Function Read ( reader As TextReader, validationEventHandler As ValidationEventHandler ) As WebReferenceOptions
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.WebReferenceOptionsA new instance of WebReferenceOptions based on the code generation options described in the specified TextReader.
.NET Framework
Available since 2.0
Available since 2.0
Show: