UserCredentialCollection 构造函数 (UserNamePasswordCredential)

命名空间: Microsoft.IdentityModel.Protocols.WSIdentity
程序集: Microsoft.IdentityModel(microsoft.identitymodel.dll 中)

用法

    Dim userName As UserNamePasswordCredential

Dim instance As New UserCredentialCollection(userName)

语法

声明
Public Sub New ( _
    userName As UserNamePasswordCredential _
)
public UserCredentialCollection (
    UserNamePasswordCredential userName
)
public:
UserCredentialCollection (
    UserNamePasswordCredential^ userName
)
public UserCredentialCollection (
    UserNamePasswordCredential userName
)
public function UserCredentialCollection (
    userName : UserNamePasswordCredential
)

参数

  • userName
     

平台

开发平台

Windows Server 2003, Windows Vista

Target Platforms

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

请参见

参考

UserCredentialCollection 类
UserCredentialCollection 成员
Microsoft.IdentityModel.Protocols.WSIdentity 命名空间