Share via


WellKnownProtectedOperations Class

Definition

A collection of documented monikers for ProtectedOperation to represent various sensitive operations within Visual Studio, along with convenience methods for creating these ProtectedOperation instances.

public ref class WellKnownProtectedOperations abstract sealed
public static class WellKnownProtectedOperations
type WellKnownProtectedOperations = class
Public Class WellKnownProtectedOperations
Inheritance
WellKnownProtectedOperations

Fields

ClientIsOwner

The moniker used to represent a check for whether the client is owned by the same user account that owns the host and therefore merits full owner trust permissions.

LaunchDebug

The moniker used to represent spawning a process defined by a project in the open solution or folder, possibly with a debugger attached.

RunTask

The moniker used to represent executing a build or other task defined within the open solution or folder.

WriteFileAccess

The moniker used to represent modifying a file within the open solution or folder.

Methods

CreateClientIsOwner()

Creates a new ProtectedOperation that represents a ClientIsOwner operation.

CreateLaunchDebug()

Creates a new ProtectedOperation that represents a LaunchDebug operation.

CreateRunTask()

Creates a new ProtectedOperation that represents a RunTask operation.

CreateWriteFileAccess()

Creates a new ProtectedOperation that represents a WriteFileAccess operation.

Applies to