WebReferenceOptions.Read Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a new instance of WebReferenceOptions based on the code generation options described in the specified input.
Overloads
Read(Stream, ValidationEventHandler) |
Returns a new instance of WebReferenceOptions based on the code generation options described in the specified stream. |
Read(TextReader, ValidationEventHandler) |
Returns a new instance of WebReferenceOptions based on the code generation options described in the specified TextReader. |
Read(XmlReader, ValidationEventHandler) |
Returns a new instance of WebReferenceOptions based on the code generation options described in the specified XmlReader. |
Read(Stream, ValidationEventHandler)
Returns a new instance of WebReferenceOptions based on the code generation options described in the specified stream.
public:
static System::Web::Services::Description::WebReferenceOptions ^ Read(System::IO::Stream ^ stream, System::Xml::Schema::ValidationEventHandler ^ validationEventHandler);
public static System.Web.Services.Description.WebReferenceOptions Read (System.IO.Stream stream, System.Xml.Schema.ValidationEventHandler validationEventHandler);
static member Read : System.IO.Stream * System.Xml.Schema.ValidationEventHandler -> System.Web.Services.Description.WebReferenceOptions
Public Shared Function Read (stream As Stream, validationEventHandler As ValidationEventHandler) As WebReferenceOptions
Parameters
- validationEventHandler
- ValidationEventHandler
The ValidationEventHandler to be associated with the new instance of WebReferenceOptions.
Returns
A new instance of WebReferenceOptions based on the code generation options described in the specified stream.
Applies to
Read(TextReader, ValidationEventHandler)
Returns a new instance of WebReferenceOptions based on the code generation options described in the specified TextReader.
public:
static System::Web::Services::Description::WebReferenceOptions ^ Read(System::IO::TextReader ^ reader, System::Xml::Schema::ValidationEventHandler ^ validationEventHandler);
public static System.Web.Services.Description.WebReferenceOptions Read (System.IO.TextReader reader, System.Xml.Schema.ValidationEventHandler validationEventHandler);
static member Read : System.IO.TextReader * System.Xml.Schema.ValidationEventHandler -> System.Web.Services.Description.WebReferenceOptions
Public Shared Function Read (reader As TextReader, validationEventHandler As ValidationEventHandler) As WebReferenceOptions
Parameters
- reader
- TextReader
The TextReader that contains the code generation options.
- validationEventHandler
- ValidationEventHandler
The ValidationEventHandler to be associated with the new instance of WebReferenceOptions.
Returns
A new instance of WebReferenceOptions based on the code generation options described in the specified TextReader.
Applies to
Read(XmlReader, ValidationEventHandler)
Returns a new instance of WebReferenceOptions based on the code generation options described in the specified XmlReader.
public:
static System::Web::Services::Description::WebReferenceOptions ^ Read(System::Xml::XmlReader ^ xmlReader, System::Xml::Schema::ValidationEventHandler ^ validationEventHandler);
public static System.Web.Services.Description.WebReferenceOptions Read (System.Xml.XmlReader xmlReader, System.Xml.Schema.ValidationEventHandler validationEventHandler);
static member Read : System.Xml.XmlReader * System.Xml.Schema.ValidationEventHandler -> System.Web.Services.Description.WebReferenceOptions
Public Shared Function Read (xmlReader As XmlReader, validationEventHandler As ValidationEventHandler) As WebReferenceOptions
Parameters
- validationEventHandler
- ValidationEventHandler
The ValidationEventHandler to be associated with the new instance of WebReferenceOptions.
Returns
A new instance of WebReferenceOptions based on the code generation options described in the specified XmlReader.
Applies to
Atsauksmes
https://aka.ms/ContentUserFeedback.
Drīzumā: 2024. gada laikā mēs pakāpeniski pārtrauksim izmantot “GitHub problēmas” kā atsauksmju par saturu mehānismu un aizstāsim to ar jaunu atsauksmju sistēmu. Papildinformāciju skatiet:Iesniegt un skatīt atsauksmes par