AccessControlExtensions Class

Definition

Convenience extension for IAccessScontrol service

public ref class AccessControlExtensions abstract sealed
public ref class AccessControlExtensions abstract sealed
class AccessControlExtensions abstract sealed
public static class AccessControlExtensions
type AccessControlExtensions = class
Public Module AccessControlExtensions
Inheritance
AccessControlExtensions

Methods

ExecuteUnderLockWithRetry<T>(IAssetsAccessContext, Func<CancellationToken,Task<T>>, IEnumerable<String>, AssetsLockScope, CancellationToken)

Execute action wilt lock yield and retry;

ExecuteUnderLockWithRetry<T>(IAssetsAccessContext, Func<CancellationToken,Task<T>>, String, AssetsLockScope, CancellationToken)

Execute action wilt lock yield and retry;

GetAccessAsync(IAssetsAccessContext, String, AssetsLockScope, CancellationToken, Int32)

Get Access to a file or folder (folder access will apply to all items under that folder recursively).

Note: it will throw canceled exception if the scope CancelRequest becomes active (in addition the cancel token).

GetAccessAsync(IAssetsAccessManager, ContextPriority, IEnumerable<String>, SharingMode, AssetsLockScope, CancellationToken, Int32)

Get Access to a file or folder (folder access will apply to all items under that folder recursively).

Note: it will throw canceled exception if the scope CacnelRequest becomes active (in addition the cancel token).

GetAccessAsync(IAssetsAccessManager, ContextPriority, String, SharingMode, AssetsLockScope, CancellationToken, Int32)

Get Access to a file or folder (folder access will apply to all items under that folder recursively).

Note: it will throw canceled exception if the scope CacnelRequest becomes active (in addition the cancel token).

Applies to