共用方式為


OAuthTokenResponse.Failed(Exception) 方法

定義

建立失敗的 OAuthTokenResponse

public:
 static Microsoft::AspNetCore::Authentication::OAuth::OAuthTokenResponse ^ Failed(Exception ^ error);
public static Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse Failed (Exception error);
static member Failed : Exception -> Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse
Public Shared Function Failed (error As Exception) As OAuthTokenResponse

參數

error
Exception

與失敗相關聯的錯誤。

傳回

OAuthTokenResponse 執行個體。

適用於