Пространство имен: Microsoft.IdentityModel.Protocols.WSIdentity
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)

Использование

Visual Basic
Dim userName As UserNamePasswordCredential
Dim x509Certificate As X509CertificateCredential
Dim selfIssuedCredential As SelfIssuedCredentials

Dim instance As New UserCredentialCollection(userName, x509Certificate, selfIssuedCredential)

Синтаксис

Visual Basic
Public Sub New ( _
		userName As UserNamePasswordCredential, _
		x509Certificate As X509CertificateCredential, _
		selfIssuedCredential As SelfIssuedCredentials _
)
C#
public UserCredentialCollection (
		UserNamePasswordCredential userName,
		X509CertificateCredential x509Certificate,
		SelfIssuedCredentials selfIssuedCredential
)
C++
public:
UserCredentialCollection (
		UserNamePasswordCredential^ userName, 
		X509CertificateCredential^ x509Certificate, 
		SelfIssuedCredentials^ selfIssuedCredential
)
J#
public UserCredentialCollection (
		UserNamePasswordCredential userName, 
		X509CertificateCredential x509Certificate, 
		SelfIssuedCredentials selfIssuedCredential
)
JScript
public function UserCredentialCollection (
		userName : UserNamePasswordCredential, 
		x509Certificate : X509CertificateCredential, 
		selfIssuedCredential : SelfIssuedCredentials
)

Параметры

userName
x509Certificate
selfIssuedCredential

Платформы

Платформа разработки

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

См. также