共用方式為


VisionServiceOptions.SetAuthorizationToken(AccessToken) Method

Definition

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.

Applies to