HttpSelfHostConfiguration.ClientCredentialType Property

Gets or sets the client credential type that the server expects.

Namespace:  System.Web.Http.SelfHost
Assembly:  System.Web.Http.SelfHost (in System.Web.Http.SelfHost.dll)

Syntax

'Declaration
Public Property ClientCredentialType As HttpClientCredentialType 
    Get 
    Set
'Usage
Dim instance As HttpSelfHostConfiguration 
Dim value As HttpClientCredentialType 

value = instance.ClientCredentialType

instance.ClientCredentialType = value
public HttpClientCredentialType ClientCredentialType { get; set; }
public:
property HttpClientCredentialType ClientCredentialType {
    HttpClientCredentialType get ();
    void set (HttpClientCredentialType value);
}
member ClientCredentialType : HttpClientCredentialType with get, set
function get ClientCredentialType () : HttpClientCredentialType 
function set ClientCredentialType (value : HttpClientCredentialType)

Property Value

Type: System.ServiceModel.HttpClientCredentialType
A HttpClientCredentialType value that specifies the credential type.

See Also

Reference

HttpSelfHostConfiguration Class

System.Web.Http.SelfHost Namespace