CredentialSet Class
Represents the security tokens that are associated with the Web service and the Web service client.
Namespace: Microsoft.Web.Services3.Security
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim credentialSet1 As New CredentialSet()
Syntax
'Declaration
Public Class CredentialSet
Implements IXmlSerializable
public class CredentialSet : IXmlSerializable
public ref class CredentialSet : IXmlSerializable
public class CredentialSet implements IXmlSerializable
public class CredentialSet implements IXmlSerializable
Remarks
Use the SetCredentials method for the Credentials property to set the Web service or the client credentials of the Web service for a policy in code. For client credentials that should not be set in a policy file, such as a user name and password, the recommended method is to set the credentials of the client in code. This applies to the <usernameOverTransportSecurity> Element, and to <usernameForCertificateSecurity> Element turnkey security assertions. For more details about setting the credentials of the Web service in a policy file and the client credentials in code, see How to: Secure a Client Using Mixed Policy and Code.
Inheritance Hierarchy
System.Object
Microsoft.Web.Services3.Security.CredentialSet
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
CredentialSet Members
Microsoft.Web.Services3.Security Namespace