Export (0) Print
Expand All

SoapExtensionAttribute.ExtensionType Property

When overridden in a derived class, gets the Type of the SOAP extension.

[Visual Basic]
Public MustOverride ReadOnly Property ExtensionType As Type
public abstract Type ExtensionType {get;}
public: __property virtual Type* get_ExtensionType() = 0;
public abstract function get ExtensionType() : Type;

Property Value

The Type of the SOAP extension.


Derived classes must override the ExtensionType property to return the type of the SOAP extension.


[Visual Basic, C#, C++] The following code example is a typical implementation of the ExtensionType property.

[Visual Basic] 
' Return the type of TraceExtension.
 Public Overrides ReadOnly Property ExtensionType() As Type
         Return GetType(TraceExtension)
     End Get
 End Property

// Return the type of TraceExtension.
public override Type ExtensionType
      return typeof(TraceExtension);

// Return the type of TraceExtension.
__property Type* get_ExtensionType()
   return __typeof(TraceExtension);

[JScript] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button Language Filter in the upper-left corner of the page.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

SoapExtensionAttribute Class | SoapExtensionAttribute Members | System.Web.Services.Protocols Namespace

© 2015 Microsoft