다음을 통해 공유


AuthorizationFailure.Failed 메서드

정의

오버로드

Failed(IEnumerable<AuthorizationFailureReason>)

호출로 인한 오류를 반환합니다 Fail(AuthorizationFailureReason) .

Failed(IEnumerable<IAuthorizationRequirement>)

를 통해 Succeed(IAuthorizationRequirement)충족되지 않는 일부 요구 사항으로 인해 오류를 반환합니다.

Failed(IEnumerable<AuthorizationFailureReason>)

Source:
AuthorizationFailure.cs
Source:
AuthorizationFailure.cs
Source:
AuthorizationFailure.cs
Source:
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>)

Source:
AuthorizationFailure.cs
Source:
AuthorizationFailure.cs
Source:
AuthorizationFailure.cs
Source:
AuthorizationFailure.cs
Source:
AuthorizationFailure.cs
Source:
AuthorizationFailure.cs
Source:
AuthorizationFailure.cs
Source:
AuthorizationFailure.cs
Source:
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>

충족되지 않은 요구 사항입니다.

반환

실패입니다.

적용 대상