Partager via


CredentialSet Constructor (SecurityToken, SecurityToken)

Initializes a new instance of the CredentialSet class with the Web service and the security credentials of the Web service client.

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

Usage

'Usage
Dim clientToken As SecurityToken
Dim serviceToken As SecurityToken
Dim credentialSet1 As New CredentialSet(clientToken, serviceToken)

Syntax

'Declaration
Public Sub New( _
    ByVal clientToken As SecurityToken, _
    ByVal serviceToken As SecurityToken _
)
public CredentialSet(
    SecurityToken clientToken, 
    SecurityToken serviceToken
);
public:
CredentialSet(
    SecurityToken^ clientToken, 
    SecurityToken^ serviceToken
);
public CredentialSet(
    SecurityToken clientToken, 
    SecurityToken serviceToken
);
public function CredentialSet(
     clientToken : SecurityToken, 
     serviceToken : SecurityToken
);

Parameters

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

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