Condividi tramite


SecurityTokenReference.Resolve Method (SoapContext)

Attempts to resolve the reference to a security token using a SoapContext and the global security token caches.

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

Usage

'Usage
Dim context As SoapContext
Dim returnValue As SecurityToken
Dim securityTokenReference1 As SecurityTokenReference
returnValue = securityTokenReference1.Resolve(context)

Syntax

'Declaration
Overloads Public Function Resolve( _
    ByVal context As SoapContext _
) As SecurityToken
public SecurityToken Resolve(
    SoapContext context
);
public:
SecurityToken^ Resolve(
    SoapContext^ context
);
public SecurityToken Resolve(
    SoapContext context
);
public function Resolve(
     context : SoapContext
) : SecurityToken;

Parameters

  • context
    The SoapContext that contains a security token collection to search.

Return Value

A SecurityToken if the reference could be resolved.

Remarks

The reference to resolve is set when one of the following properties is set: AbsoluteReference , Embedded , KeyIdentifier , Reference , or RelativeReference .

This method attempts to resolve the reference by looking first in the Tokens property of the Security property of context.

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

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