RoleContext(Boolean, Boolean) Constructor

Definition

Initializes a new instance of the RoleContext class by using the provided indicators for remote role and execution role.

public:
 RoleContext(bool isRemoteRole, bool isExecutionRole);
public RoleContext(bool isRemoteRole, bool isExecutionRole);
new Microsoft.VisualStudio.TestTools.Execution.RoleContext : bool * bool -> Microsoft.VisualStudio.TestTools.Execution.RoleContext
Public Sub New (isRemoteRole As Boolean, isExecutionRole As Boolean)

Parameters

isRemoteRole
Boolean

true if this context is for a diagnostic data adapter that is configured for a remote role; false if for a local role.

isExecutionRole
Boolean

true if this context is for a diagnostic data adapter that is configured for the execution role; otherwise, false.

Applies to