Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Initializes a new instance of the RoleContext class by using the provided indicators for remote role and execution role.
Namespace: Microsoft.VisualStudio.TestTools.Execution
Assembly: Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
Syntax
'Declaration
Public Sub New ( _
isRemoteRole As Boolean, _
isExecutionRole As Boolean _
)
public RoleContext(
bool isRemoteRole,
bool isExecutionRole
)
public:
RoleContext(
bool isRemoteRole,
bool isExecutionRole
)
new :
isRemoteRole:bool *
isExecutionRole:bool -> RoleContext
public function RoleContext(
isRemoteRole : boolean,
isExecutionRole : boolean
)
Parameters
isRemoteRole
Type: Booleantrue if this context is for a diagnostic data adapter that is configured for a remote role; false if for a local role.
isExecutionRole
Type: Booleantrue if this context is for a diagnostic data adapter that is configured for the execution role; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.