SoapHttpChannelOptions.Credentials Property

Gets or sets security credentials for the channel.

Namespace: Microsoft.Web.Services2.Messaging
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

Usage

'Usage
Dim soapHttpChannelOptions1 As SoapHttpChannelOptions

Dim returnValue As ICredentials
returnValue = soapHttpChannelOptions1.Credentials

Dim sampleValue As ICredentials
soapHttpChannelOptions1.Credentials = sampleValue

Syntax

'Declaration
Public Property Credentials() As ICredentials
public ICredentials Credentials {get; set;}
public: property ICredentials^ Credentials{
    ICredentials^ get();
    Void set(ICredentials^);
}
public ICredentials get_Credentials();
public void set_Credentials(ICredentials);
public function get Credentials() : ICredentials;
public function set Credentials(ICredentials);

Property Value

The System.Net.ICredentials for the channel.

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 Longhorn, and Windows 2000

Target Platforms

Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone

See Also

Reference

SoapHttpChannelOptions Class
Microsoft.Web.Services2.Messaging Namespace

Other Resources

SoapHttpChannelOptions Members