WebReferenceOptions::Read Method (Stream^, ValidationEventHandler^)
.NET Framework (current version)
Returns a new instance of WebReferenceOptions based on the code generation options described in the specified stream.
Assembly: System.Web.Services (in System.Web.Services.dll)
public: static WebReferenceOptions^ Read( Stream^ stream, ValidationEventHandler^ validationEventHandler )
Parameters
- stream
-
Type:
System.IO::Stream^
The Stream 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 stream.
.NET Framework
Available since 2.0
Available since 2.0
Show: