Partager via


SecurityTokenReference.Resolve Method ()

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

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

Usage

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

Syntax

'Declaration
Overloads Public Function Resolve() As SecurityToken
public SecurityToken Resolve();
public:
SecurityToken^ Resolve();
public SecurityToken Resolve();
public function Resolve() : SecurityToken;

Return Value

A SecurityToken if the reference could be resolved.

Remarks

Use this version of the Resolve method when the SecurityTokenReference constructor that accepts an XmlElement is used. That constructor sets the SoapContext that is used to resolve the reference.

The reference to resolve is the last reference specified by setting one of the following properties: 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 the SoapContext established in the constructor.

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