Share via


SoapContext.Remove Method

Removes the element with the specified key from the context property bag.

Namespace: Microsoft.Web.Services3
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim key As String
Dim soapContext1 As SoapContext
soapContext1.Remove(key)

Syntax

'Declaration
Public Sub Remove( _
    ByVal key As String _
)
public void Remove(
    string key
);
public:
void Remove(
    String^ key
);
public void Remove(
    System.String key
);
public function Remove(
     key : String
) : Void;

Parameters

  • key
    The key of the element to remove.

Exceptions

Exception type Condition
ArgumentNullException

key is null.

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 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

SoapContext Class
SoapContext Members
Microsoft.Web.Services3 Namespace