RemoteFailureContext 建構函式

定義

初始化 RemoteFailureContext 的新執行個體。

public:
 RemoteFailureContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme, Microsoft::AspNetCore::Authentication::RemoteAuthenticationOptions ^ options, Exception ^ failure);
public RemoteFailureContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions options, Exception failure);
new Microsoft.AspNetCore.Authentication.RemoteFailureContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions * Exception -> Microsoft.AspNetCore.Authentication.RemoteFailureContext
Public Sub New (context As HttpContext, scheme As AuthenticationScheme, options As RemoteAuthenticationOptions, failure As Exception)

參數

failure
Exception

錯誤的易記錯誤訊息。

適用於