System.Web.Services.Description.ProtocolImporter Members

The members of System.Web.Services.Description.ProtocolImporter are listed below.

See Also: Inherited members from System.Object

Protected Constructors

Initializes a new instance of the System.Web.Services.Description.ProtocolImporter class.

Public Properties

[read-only]
AbstractSchemasSystem.Xml.Serialization.XmlSchemas.

Gets the abstract XML schemas used by the associated System.Web.Services.Description.ServiceDescriptionImporter instance.

[read-only]
BindingBinding.

Gets the Web Services Description Language (WSDL) binding that the protocol importer is currently processing to generate a class.

[read-only]
ClassNamestring.

Gets the name of the binding class that is currently being generated.

[read-only]
ClassNamesSystem.Xml.Serialization.CodeIdentifiers.

Gets the System.Xml.Serialization.CodeIdentifiers object that generates a unique name for the binding class that is currently being generated.

[read-only]
CodeNamespaceSystem.CodeDom.CodeNamespace.

Gets a representation of the .NET Framework namespace of the binding classes that are being generated.

[read-only]
CodeTypeDeclarationSystem.CodeDom.CodeTypeDeclaration.

Gets a representation of the binding class that is currently being generated.

[read-only]
ConcreteSchemasSystem.Xml.Serialization.XmlSchemas.

Gets the concrete XML schemas used by the associated System.Web.Services.Description.ServiceDescriptionImporter instance.

[read-only]
InputMessageMessage.

Gets the Web Services Description Language (WSDL) input message for the abstract operation that the protocol importer is currently processing to generate a method in a binding class.

[read-only]
MethodNamestring.

Gets the name of the binding class method which that the protocol importer is currently generating.

[read-only]
OperationOperation.

Gets the abstract Web Services Description Language (WSDL) operation that the protocol importer is currently processing to generate a method in a binding class.

[read-only]
OperationBindingOperationBinding.

Gets the Web Services Description Language (WSDL) operation binding that the protocol importer is currently processing to generate a method in a binding class.

[read-only]
OutputMessageMessage.

Gets the Web Services Description Language (WSDL) output message for the abstract operation that the protocol importer is currently processing to generate a method in a binding class.

[read-only]
PortPort.

Gets a Web Services Description Language (WSDL) port that contains a reference to the binding that the protocol importer is currently processing to generate a binding class. If more than one port refers to the current binding, the current port is the one in which the binding has most recently been found.

[read-only]
PortTypePortType.

Gets the Web Services Description Language (WSDL) ProtocolImporter.PortType that is implemented by the binding that the protocol importer is currently processing to generate a binding class.

[read-only]
abstract
ProtocolNamestring.

Abstract property that concrete derived classes must implement to get the name of the protocol being used.

[read-only]
SchemasSystem.Xml.Serialization.XmlSchemas.

Gets all the XML schemas, both abstract and concrete, used by the associated System.Web.Services.Description.ServiceDescriptionImporter instance.

[read-only]
ServiceService.

Gets the Web Services Description Language (WSDL) service that contains a reference to the binding that the protocol importer is currently processing to generate a binding class.

[read-only]
ServiceDescriptionsServiceDescriptionCollection.

Gets the System.Web.Services.Description.ServiceDescriptionCollection objects that belong to the associated System.Web.Services.Description.ServiceDescriptionImporter instance that are searched for bindings from which to generate binding classes.

[read-only]
StyleServiceDescriptionImportStyle.

Gets an enumeration value that indicates whether a client proxy class or an abstract server class is being generated. The values are Client and Server. The value is that of the associated System.Web.Services.Description.ServiceDescriptionImporter instance's ServiceDescriptionImporter.Style property.

WarningsServiceDescriptionImportWarnings.

Gets or sets a System.Web.Services.Description.ServiceDescriptionImportWarnings enumeration value that indicates the types of warnings, if any, issued by the protocol importer while generating binding classes.

Public Methods

AddExtensionWarningComments(System.CodeDom.CodeCommentStatementCollection, ServiceDescriptionFormatExtensionCollection)

For each unhandled extension or XML element in the input extensions collection, turns on a ServiceDescriptionImportWarnings.RequiredExtensionsIgnored or ServiceDescriptionImportWarnings.OptionalExtensionsIgnored warning for each unhandled extension or XML element in the input extensions collection.

OperationBindingSyntaxException(string) : Exception

Produces an Exception indicating that the current ProtocolImporter.OperationBinding instance for which a binding class is being generated is invalid within the target namespace.

OperationSyntaxException(string) : Exception

Produces an Exception indicating that the current ProtocolImporter.Operation instance for which a binding class is being generated is invalid within the target namespace.

UnsupportedBindingWarning(string)

Turns on an ServiceDescriptionImportWarnings.UnsupportedBindingsIgnored warning in the System.Web.Services.Description.ServiceDescriptionImportWarnings enumeration obtained through the ProtocolImporter.Warnings property. This method also adds a warning message to the comments for the class that is being generated.

UnsupportedOperationBindingWarning(string)

Turns on an ServiceDescriptionImportWarnings.UnsupportedOperationsIgnored warning in the System.Web.Services.Description.ServiceDescriptionImportWarnings enumeration obtained through the ProtocolImporter.Warnings property. This method also adds a warning message to the comments for the class that is being generated.

UnsupportedOperationWarning(string)

Turns on an ServiceDescriptionImportWarnings.UnsupportedOperationsIgnored warning in the System.Web.Services.Description.ServiceDescriptionImportWarnings enumeration obtained through the ProtocolImporter.Warnings property. This method also adds a warning message to the comments for the class that is being generated.

Protected Methods

abstract
BeginClass() : System.CodeDom.CodeTypeDeclaration

When overridden in a derived class, initializes the generation of a binding class.

BeginNamespace()

When overridden in a derived class, performs namespace-wide initialization during code generation.

EndClass()

When overridden in a derived class, processes a binding class.

EndNamespace()

When overridden in a derived class, performs processing for an entire namespace.

abstract
GenerateMethod() : System.CodeDom.CodeMemberMethod

When overridden in a derived class, generates method code for binding classes.

abstract
IsBindingSupported() : bool

When overridden in a derived class, determines whether a class can be generated for the current binding.

abstract
IsOperationFlowSupported(OperationFlow) : bool

When overridden in a derived class, determines whether the current operation's operation flow is supported.