WebServicesClientProtocol.GetServiceCredential Generic Method
Gets the security credentials for the Web service.
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.GetServiceCredential(Of SomeType1)()
Syntax
'Declaration
Public Function GetServiceCredential(Of TSecurityToken As SecurityToken)() As TSecurityToken
public TSecurityToken GetServiceCredential<TSecurityToken>()
where TSecurityToken : SecurityToken;
public:
generic<typename TSecurityToken>
TSecurityToken GetServiceCredential();
public TSecurityToken GetServiceCredential<TSecurityToken>();
where TSecurityToken extends SecurityToken
JScript does not support Generics.
Return Value
A SecurityToken that represents the security credentials of the Web service.
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