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 Class

 

Encapsulates context information about the role in which a diagnostic data adapter is being configured.

Namespace:   Microsoft.VisualStudio.TestTools.Execution
Assembly:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

System.Object
  Microsoft.VisualStudio.TestTools.Execution.RoleContext

public class RoleContext

NameDescription
System_CAPS_pubmethodRoleContext(Boolean, Boolean)

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

NameDescription
System_CAPS_pubpropertyIsExecutionRole

Gets a value that indicates whether this context is for a diagnostic data adapter that is configured for the execution role.

System_CAPS_pubpropertyIsRemoteRole

Gets a value that indicates whether this context is for a diagnostic data adapter that is configured for a remote role.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: