Edit

Share via


WebReferenceOptions Class

Definition

The WebReferenceOptions class represents code generation options specified in an XML text file.

public ref class WebReferenceOptions
public class WebReferenceOptions
type WebReferenceOptions = class
Public Class WebReferenceOptions
Inheritance
WebReferenceOptions

Constructors

WebReferenceOptions()

Initializes a new instance of WebReferenceOptions.

Fields

TargetNamespace

A String that contains the target namespace for the WebReferenceOptions.

Properties

CodeGenerationOptions

Gets or sets the CodeGenerationOptions associated with this WebReferenceOptions.

Schema

Gets the XmlSchema associated with this WebReferenceOptions.

SchemaImporterExtensions

Gets a StringCollection that represents the schema importer extensions associated with this WebReferenceOptions.

Style

Gets or sets the ServiceDescriptionImportStyle associated with this WebReferenceOptions.

Verbose

Gets or sets a Boolean value that indicates whether verbose warning messages are to be generated during compilation of a client proxy or a server stub.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
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.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to