Partager via


SoapHttpChannelOptions.Credentials Property

Gets or sets security credentials for the channel.

Namespace: Microsoft.Web.Services3.Messaging
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.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^ value);
}
public ICredentials get_Credentials();
public void set_Credentials(ICredentials);
public function get Credentials() : ICredentials;
public function set Credentials(ICredentials);

Property Value

The 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 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

SoapHttpChannelOptions Class
SoapHttpChannelOptions Members
Microsoft.Web.Services3.Messaging Namespace