Share via


SecureConversationClientReceiveSecurityFilter.GetUnattachedTokens Method

Gets the collection of security tokens that are referenced in the SOAP message, but are not in the SOAP message.

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

Usage

'Usage
Dim context As SoapContext
Dim returnValue As IEnumerable(Of SecurityToken)
Dim secureConversationClientReceiveSecurityFilter1 As SecureConversationClientReceiveSecurityFilter
returnValue = secureConversationClientReceiveSecurityFilter1.GetUnattachedTokens(context)

Syntax

'Declaration
Public NotOverridable Overrides Function GetUnattachedTokens( _
    ByVal context As SoapContext _
) As IEnumerable(Of SecurityToken)
public override sealed IEnumerable<SecurityToken> GetUnattachedTokens(
    SoapContext context
);
public:
virtual IEnumerable<SecurityToken^>^ arbitrary-name(
    SoapContext^ context
) sealed = ReceiveSecurityFilter::GetUnattachedTokens;
public override final IEnumerable<SecurityToken> GetUnattachedTokens(
    SoapContext context
);
JScript does not support Generics.

Parameters

  • context
    The SoapContext that contains the WSE-specific features for the current SOAP message.

Return Value

A System.Collections.Generic.IEnumerable of type SecurityToken that contains the collection of security tokens that are referenced in the SOAP message, but are not in it.

Remarks

Use the GetUnattachedTokens and GetUnattachedTokensCore methods to obtain security tokens that are not in a SOAP message. When a secure conversation is established, use the GetUnattachedTokens method; otherwise use the GetUnattachedTokensCore method.

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

SecureConversationClientReceiveSecurityFilter Class
SecureConversationClientReceiveSecurityFilter Members
Microsoft.Web.Services3.Security Namespace