UserNamePasswordTokenProvider Constructor

Initializes a new instance of the UserNamePasswordTokenProvider class.

Namespace:  Microsoft.ServiceBus
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

Syntax

'Declaration
Public Sub New ( _
    userName As String, _
    password As String _
)
'Usage
Dim userName As String
Dim password As String

Dim instance As New UserNamePasswordTokenProvider(userName, _
    password)
public UserNamePasswordTokenProvider(
    string userName,
    string password
)
public:
UserNamePasswordTokenProvider(
    String^ userName, 
    String^ password
)
new : 
        userName:string * 
        password:string -> UserNamePasswordTokenProvider
public function UserNamePasswordTokenProvider(
    userName : String, 
    password : String
)

Parameters

See Also

Reference

UserNamePasswordTokenProvider Class

Microsoft.ServiceBus Namespace