WebServicesClientProtocol.GetClientCredential Generic Method

Gets the security credentials of the Web service client.

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

Usage

'Usage
Public Class SomeType1
    Inherits SecurityToken
End Class
Dim returnValue As SomeType1
Dim webServicesClientProtocol1 As WebServicesClientProtocol
returnValue = webServicesClientProtocol1.GetClientCredential(Of SomeType1)()

Syntax

'Declaration
Public Function GetClientCredential(Of TSecurityToken As SecurityToken)() As TSecurityToken
public TSecurityToken GetClientCredential<TSecurityToken>()
    where TSecurityToken : SecurityToken;
public:
generic<typename TSecurityToken>
TSecurityToken GetClientCredential();
public TSecurityToken GetClientCredential<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

WebServicesClientProtocol Class
WebServicesClientProtocol Members
Microsoft.Web.Services3 Namespace