This documentation is archived and is not being maintained.

ProtocolImporter Members

Provides common functionality across communication protocols for generating classes for Web services.

The ProtocolImporter type exposes the following members.

  NameDescription
Protected method ProtocolImporter Initializes a new instance of the ProtocolImporter class.
Top

  NameDescription
Public method AddExtensionWarningComments For each unhandled extension or XML element in the input extensions collection, turns on a RequiredExtensionsIgnored or OptionalExtensionsIgnored warning for each unhandled extension or XML element in the input extensions collection.
Protected method BeginClass When overridden in a derived class, initializes the generation of a binding class.
Protected method BeginNamespace When overridden in a derived class, performs namespace-wide initialization during code generation.
Protected method EndClass When overridden in a derived class, processes a binding class.
Protected method EndNamespace When overridden in a derived class, performs processing for an entire namespace.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Protected method GenerateMethod When overridden in a derived class, generates method code for binding classes.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method IsBindingSupported When overridden in a derived class, determines whether a class can be generated for the current binding.
Protected method IsOperationFlowSupported When overridden in a derived class, determines whether the current operation's operation flow is supported.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method OperationBindingSyntaxException Produces an Exception indicating that the current OperationBinding instance for which a binding class is being generated is invalid within the target namespace.
Public method OperationSyntaxException Produces an Exception indicating that the current Operation instance for which a binding class is being generated is invalid within the target namespace.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method UnsupportedBindingWarning Turns on an UnsupportedBindingsIgnored warning in the ServiceDescriptionImportWarnings enumeration obtained through the Warnings property. This method also adds a warning message to the comments for the class that is being generated.
Public method UnsupportedOperationBindingWarning Turns on an UnsupportedOperationsIgnored warning in the ServiceDescriptionImportWarnings enumeration obtained through the Warnings property. This method also adds a warning message to the comments for the class that is being generated.
Public method UnsupportedOperationWarning Turns on an UnsupportedOperationsIgnored warning in the ServiceDescriptionImportWarnings enumeration obtained through the Warnings property. This method also adds a warning message to the comments for the class that is being generated.
Top

  NameDescription
Public property AbstractSchemas Gets the abstract XML schemas used by the associated ServiceDescriptionImporter instance.
Public property Binding Gets the Web Services Description Language (WSDL) binding that the protocol importer is currently processing to generate a class.
Public property ClassName Gets the name of the binding class that is currently being generated.
Public property ClassNames Gets the CodeIdentifiers object that generates a unique name for the binding class that is currently being generated.
Public property CodeNamespace Gets a representation of the .NET Framework namespace of the binding classes that are being generated.
Public property CodeTypeDeclaration Gets a representation of the binding class that is currently being generated.
Public property ConcreteSchemas Gets the concrete XML schemas used by the associated ServiceDescriptionImporter instance.
Public property InputMessage 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.
Public property MethodName Gets the name of the binding class method which that the protocol importer is currently generating.
Public property Operation Gets the abstract Web Services Description Language (WSDL) operation that the protocol importer is currently processing to generate a method in a binding class.
Public property OperationBinding Gets the Web Services Description Language (WSDL) operation binding that the protocol importer is currently processing to generate a method in a binding class.
Public property OutputMessage 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.
Public property Port 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.
Public property PortType Gets the Web Services Description Language (WSDL) PortType that is implemented by the binding that the protocol importer is currently processing to generate a binding class.
Public property ProtocolName Abstract property that concrete derived classes must implement to get the name of the protocol being used.
Public property Schemas Gets all the XML schemas, both abstract and concrete, used by the associated ServiceDescriptionImporter instance.
Public property Service 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.
Public property ServiceDescriptions Gets the ServiceDescriptionCollection objects that belong to the associated ServiceDescriptionImporter instance that are searched for bindings from which to generate binding classes.
Public property Style 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 ServiceDescriptionImporter instance's Style property.
Public property Warnings Gets or sets a ServiceDescriptionImportWarnings enumeration value that indicates the types of warnings, if any, issued by the protocol importer while generating binding classes.
Top
Show: