This documentation is archived and is not being maintained.
ServiceCredentials Class
Visual Studio 2010
Configures a service credential. Use this class to specify the credential for the service such as an X.509 certificate. Also, use this class to specify the authentication model for various client credentials such as user name and password validation.
System::Object
System.ServiceModel.Security::SecurityCredentialsManager
System.ServiceModel.Description::ServiceCredentials
System.ServiceModel.Security::SecurityCredentialsManager
System.ServiceModel.Description::ServiceCredentials
Assembly: System.ServiceModel (in System.ServiceModel.dll)
The ServiceCredentials type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | ServiceCredentials() | Initializes a new instance of the ServiceCredentials class. |
![]() | ServiceCredentials(ServiceCredentials) | Initializes a new instance of ServiceCredentials from the specified ServiceCredentials. |
| Name | Description | |
|---|---|---|
![]() | ClientCertificate | Gets the current client certificate authentication and provisioning settings for this service. |
![]() | IssuedTokenAuthentication | Gets the current issued token (for example, SAML) authentication settings for this service. |
![]() | Peer | Gets the current credential authentication and provisioning settings to be used by peer transport endpoints configured on the service. |
![]() | SecureConversationAuthentication | Gets the current settings to be used by a secure conversation. |
![]() | ServiceCertificate | Gets the current certificate associated with this service. |
![]() | UserNameAuthentication | Gets the current user name/password authentication settings for this service. |
![]() | WindowsAuthentication | Gets the current Windows authentication settings for this service. |
| Name | Description | |
|---|---|---|
![]() | Clone | Creates a copy of the current instance. |
![]() | CloneCore | Copies the essential members of the current instance. |
![]() | CreateSecurityTokenManager | Creates a token manager for this service. (Overrides SecurityCredentialsManager::CreateSecurityTokenManager().) |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IServiceBehavior::AddBindingParameters | Infrastructure. Adds this instance to a binding parameter collection. This is an infrastructure method and not intended to be called directly. |
![]() ![]() | IServiceBehavior::ApplyDispatchBehavior | Infrastructure. Apply the dispatch behavior. This is an infrastructure method and not intended to be called directly. |
![]() ![]() | IServiceBehavior::Validate | Infrastructure. Validates a service description. This is an infrastructure method and not intended to be called directly. |
This class is used as a parameter in the BuildChannelListenerCore<TChannel> method, by methods of the ServiceCredentialsSecurityTokenManager, and is returned by the ServiceHostBase::Credentials property.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
