RoleContext(Boolean, Boolean) Constructor
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.
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.