IAssetsAccessManager.CreateAccessContext(ContextPriority, SharingMode) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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