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