SoapMethodAttribute.SoapAction Property

Gets or sets the current SOAP action for the SoapMethodAttribute instance.

Namespace: Microsoft.Web.Services2.Messaging
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

Usage

'Usage
Dim soapMethodAttribute1 As SoapMethodAttribute

Dim returnValue As String
returnValue = soapMethodAttribute1.SoapAction

Dim sampleValue As String
soapMethodAttribute1.SoapAction = sampleValue

Syntax

'Declaration
Public Property SoapAction() As String
public string SoapAction {get; set;}
public: property String^ SoapAction{
    String^ get();
    Void set(String^);
}
public System.String get_SoapAction();
public void set_SoapAction(System.String);
public function get SoapAction() : String;
public function set SoapAction(String);

Property Value

The current action for the SOAP method.

Exceptions

Exception type Condition
System.ArgumentNullException

SoapAction is set to null.

Remarks

An action is a URI that is a unique identifier which specifies a particular operation at a given endpoint.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone

See Also

Reference

SoapMethodAttribute Class
Microsoft.Web.Services2.Messaging Namespace

Other Resources

SoapMethodAttribute Members