Returns a new instance of System.Web.Services.Description.WebReferenceOptions based on the code generation options described in the specified stream.
- stream
The System.IO.Stream that contains the code generation options.
- validationEventHandler
The System.Xml.Schema.ValidationEventHandler to be associated with the new instance of System.Web.Services.Description.WebReferenceOptions.
![]()
A new instance of System.Web.Services.Description.WebReferenceOptions based on the code generation options described in the specified stream.