TestAdapter.AddUserToken(String, String, String, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a fake user token so it can later be retrieved.
public void AddUserToken (string connectionName, string channelId, string userId, string token, string magicCode = default);
member this.AddUserToken : string * string * string * string * string -> unit
Public Sub AddUserToken (connectionName As String, channelId As String, userId As String, token As String, Optional magicCode As String = Nothing)
Parameters
- connectionName
- String
The connection name.
- channelId
- String
The channel ID.
- userId
- String
The user ID.
- token
- String
The token to store.
- magicCode
- String
The optional magic code to associate with this token.