System.Web.Services 1.0.5000.0 2.0.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.Attribute System.AttributeUsage(System.AttributeTargets.Class, Inherited=true)

A service description format extension extends how a service description is generated for an XML Web service created using ASP.NET. Specifically, a service description format extension adds XML elements to the service description. This is useful when a SOAP extension is built to run on both the client and server side of an XML Web service, as information about SOAP extensions is not automatically placed in the service description. If you add information about the SOAP extension to the service description, a client can thus interpret that it must run the specific SOAP extension. An example of a SOAP extension that must run on both the client and server is an encryption SOAP extension. If an encryption SOAP extension runs on only the server, and it encrypts return values before sending them back to the client, the client must have the SOAP extension running to decrypt the SOAP message. Otherwise, the client cannot process the return value.

Use the following steps to build a service description format extension:

Build a class that derives from .

Apply a to the class and specify the extension points at which the service description format extension should run.

Optionally, apply a to the class and specify a member within the class to act as a new extension point.

Optionally, apply a to the class and specify the XML namespace prefix to be associated with XML elements generated by the service description format extension.

Configure the service description format extension to run within the serviceDescriptionFormatExtensionTypes section of the configuration file.

Specifies the XML namespace and XML namespace prefix to use for a service description format extension within a service description. This class cannot be inherited.

- Constructor
  To be added

  Initializes a new instance of the class.

  The member of the class that implements the service description format extension that can have a service description format extension associated with it.
  1.0.5000.0
  2.0.0.0
- Property
  System.Boolean To be added: an object of type 'bool' To be added

  Gets or sets a value that indicates whether the member of the class that implements the service description format extension specified in the property can accept raw XML elements.

  1.0.5000.0
  2.0.0.0
- Property
  System.String To be added: an object of type 'string' To be added

  Specifies that the member of the class that implements the service description format extension can have a service description format extension associated with it.

  1.0.5000.0
  2.0.0.0