VisionServiceOptions.SetAuthorizationToken(AccessToken) 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.
Sets a new authorization token to be used to connect to the Vision Service.
public void SetAuthorizationToken (Azure.Core.AccessToken token);
member this.SetAuthorizationToken : Azure.Core.AccessToken -> unit
Public Sub SetAuthorizationToken (token As AccessToken)
Parameters
- token
- AccessToken
The authorization token
Remarks
If the previously given token has expired, you must call this method with a new token before a new connections to the Vision Service can be made.