다음을 통해 공유


UsernameToken.PasswordOption Property

Gets or sets how the password associated with the security token is sent in SOAP messages.

Namespace: Microsoft.Web.Services3.Security.Tokens
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim usernameToken1 As UsernameToken

Dim returnValue As PasswordOption
returnValue = usernameToken1.PasswordOption

Syntax

'Declaration
Public ReadOnly Property PasswordOption() As PasswordOption
public PasswordOption PasswordOption {get;}
public:
property PasswordOption PasswordOption {
    PasswordOption get();
}
public PasswordOption get_PasswordOption();
public function get PasswordOption() : PasswordOption;

Property Value

One of the PasswordOption values that specifies how the password associated with the security token is sent in SOAP messages.

Exceptions

Exception type Condition
ArgumentException

PasswordOption is set to a value other than PasswordOption.SendNone when the Password property is null .

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

UsernameToken Class
UsernameToken Members
Microsoft.Web.Services3.Security.Tokens Namespace