IAssetsAccessContext 인터페이스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
자산 액세스 scope. 동일한 scope 잠금이 서로 차단되지 않습니다.
public interface class IAssetsAccessContext
public interface class IAssetsAccessContext
__interface IAssetsAccessContext
public interface IAssetsAccessContext
type IAssetsAccessContext = interface
Public Interface IAssetsAccessContext
속성
YieldRequest |
AccessControl 서비스가 컨텍스트 소유자에게 더 중요한 작업이 현재 잠겨 있는 일부 리소스에 대한 액세스 권한이 필요한 경우 가능한 한 빨리 생성하도록 요청할 때 취소 토큰 |
메서드
GetAccessAsync(IEnumerable<String>, AssetsLockScope, CancellationToken, Int32) |
파일 또는 폴더에 대한 액세스를 가져옵니다(폴더 액세스는 해당 폴더 아래의 모든 항목에 재귀적으로 적용됨). "cancel"이 취소되면 OperationCanceledException을 throw합니다. 컨텍스트가 다른 더 중요한 워크플로로 전달되도록 요청된 경우 AccessLockYieldRequestException을 throw합니다. |
확장 메서드
ExecuteUnderLockWithRetry<T>(IAssetsAccessContext, Func<CancellationToken,Task<T>>, IEnumerable<String>, AssetsLockScope, CancellationToken) |
실행 작업 윌트 잠금 수율 및 재시도; |
ExecuteUnderLockWithRetry<T>(IAssetsAccessContext, Func<CancellationToken,Task<T>>, String, AssetsLockScope, CancellationToken) |
실행 작업 윌트 잠금 수율 및 재시도; |
GetAccessAsync(IAssetsAccessContext, String, AssetsLockScope, CancellationToken, Int32) |
파일 또는 폴더에 대한 액세스를 가져옵니다(폴더 액세스는 해당 폴더 아래의 모든 항목에 재귀적으로 적용됨). 참고: scope CacnelRequest가 활성화되면 취소된 예외가 throw됩니다(취소 토큰 추가). |