SoapContext.Remove Method
Removes the element with the specified key from the context property bag.
Namespace: Microsoft.Web.Services2
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.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
);
Parameters
- key
The key of the element to remove.
Exceptions
Exception type | Condition |
---|---|
System.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 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
SoapContext Class
Microsoft.Web.Services2 Namespace