Share via


IAssetsAccessManager.CreateAccessContext(ContextPriority, SharingMode) Method

Definition

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

public:
 Microsoft::VisualStudio::Workspace::AssetsControl::IAssetsAccessContext ^ CreateAccessContext(Microsoft::VisualStudio::Workspace::AssetsControl::ContextPriority priority, Microsoft::VisualStudio::Workspace::AssetsControl::SharingMode sharingMode);
public:
 Microsoft::VisualStudio::Workspace::AssetsControl::IAssetsAccessContext ^ CreateAccessContext(Microsoft::VisualStudio::Workspace::AssetsControl::ContextPriority priority, Microsoft::VisualStudio::Workspace::AssetsControl::SharingMode sharingMode);
Microsoft::VisualStudio::Workspace::AssetsControl::IAssetsAccessContext CreateAccessContext(Microsoft::VisualStudio::Workspace::AssetsControl::ContextPriority priority, Microsoft::VisualStudio::Workspace::AssetsControl::SharingMode sharingMode);
public Microsoft.VisualStudio.Workspace.AssetsControl.IAssetsAccessContext CreateAccessContext (Microsoft.VisualStudio.Workspace.AssetsControl.ContextPriority priority, Microsoft.VisualStudio.Workspace.AssetsControl.SharingMode sharingMode);
abstract member CreateAccessContext : Microsoft.VisualStudio.Workspace.AssetsControl.ContextPriority * Microsoft.VisualStudio.Workspace.AssetsControl.SharingMode -> Microsoft.VisualStudio.Workspace.AssetsControl.IAssetsAccessContext
Public Function CreateAccessContext (priority As ContextPriority, sharingMode As SharingMode) As IAssetsAccessContext

Parameters

priority
ContextPriority

the priority of the work

sharingMode
SharingMode

sharing mode (with other contexts)

Returns

new access context object

Applies to