Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RoleContext Constructor (Boolean, Boolean)

 

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)

public:
RoleContext(
	bool isRemoteRole,
	bool isExecutionRole
)

Parameters

isRemoteRole
Type: System::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
Type: System::Boolean

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

Return to top
Show: