IAssetsAccessManager Interface

Definition

Used to control the access for shared resources like files and folders

C++/CX
public interface class IAssetsAccessManager

Methods

CreateAccessContext(ContextPriority, SharingMode)

Opens a assets access context to be used by a workflow.

Extension Methods

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

Product Versions
Visual Studio SDK 2017, 2019, 2022