次の方法で共有


AuthorizationFailure.Failed メソッド

定義

オーバーロード

Failed(IEnumerable<AuthorizationFailureReason>)

が呼び出されたためにエラーが Fail(AuthorizationFailureReason) 返されます。

Failed(IEnumerable<IAuthorizationRequirement>)

を介して一部の要件が満たされていないため、エラーを Succeed(IAuthorizationRequirement)返します。

Failed(IEnumerable<AuthorizationFailureReason>)

ソース:
AuthorizationFailure.cs
ソース:
AuthorizationFailure.cs
ソース:
AuthorizationFailure.cs
ソース:
AuthorizationFailure.cs

が呼び出されたためにエラーが Fail(AuthorizationFailureReason) 返されます。

public static Microsoft.AspNetCore.Authorization.AuthorizationFailure Failed (System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.AuthorizationFailureReason> reasons);
static member Failed : seq<Microsoft.AspNetCore.Authorization.AuthorizationFailureReason> -> Microsoft.AspNetCore.Authorization.AuthorizationFailure
Public Shared Function Failed (reasons As IEnumerable(Of AuthorizationFailureReason)) As AuthorizationFailure

パラメーター

戻り値

エラー。

適用対象

Failed(IEnumerable<IAuthorizationRequirement>)

ソース:
AuthorizationFailure.cs
ソース:
AuthorizationFailure.cs
ソース:
AuthorizationFailure.cs
ソース:
AuthorizationFailure.cs
ソース:
AuthorizationFailure.cs
ソース:
AuthorizationFailure.cs
ソース:
AuthorizationFailure.cs
ソース:
AuthorizationFailure.cs
ソース:
AuthorizationFailure.cs

を介して一部の要件が満たされていないため、エラーを Succeed(IAuthorizationRequirement)返します。

public:
 static Microsoft::AspNetCore::Authorization::AuthorizationFailure ^ Failed(System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Authorization::IAuthorizationRequirement ^> ^ failed);
public static Microsoft.AspNetCore.Authorization.AuthorizationFailure Failed (System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement> failed);
static member Failed : seq<Microsoft.AspNetCore.Authorization.IAuthorizationRequirement> -> Microsoft.AspNetCore.Authorization.AuthorizationFailure
Public Shared Function Failed (failed As IEnumerable(Of IAuthorizationRequirement)) As AuthorizationFailure

パラメーター

failed
IEnumerable<IAuthorizationRequirement>

満たされなかった要件。

戻り値

エラー。

適用対象