Returns a new instance of System.Web.Services.Description.WebReferenceOptions based on the code generation options described in the specified System.IO.TextReader.
- reader
- The System.IO.TextReader 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 System.IO.TextReader.