Compartilhar via


CredentialSet.GetClientToken Generic Method

Gets the security credentials that are associated with the Web service client.

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

Usage

'Usage
Public Class SomeType1
    Inherits SecurityToken
End Class
Dim returnValue As SomeType1
Dim credentialSet1 As CredentialSet
returnValue = credentialSet1.GetClientToken(Of SomeType1)()

Syntax

'Declaration
Public Function GetClientToken(Of TSecurityToken As SecurityToken)() As TSecurityToken
public TSecurityToken GetClientToken<TSecurityToken>()
    where TSecurityToken : SecurityToken;
public:
generic<typename TSecurityToken>
TSecurityToken GetClientToken();
public TSecurityToken GetClientToken<TSecurityToken>();
    where TSecurityToken extends SecurityToken
JScript does not support Generics.

Return Value

A SecurityToken that represents the security credentials of the Web service client.

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

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