RoleContext Class

Definition

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

public ref class RoleContext
public class RoleContext
type RoleContext = class
Public Class RoleContext
Inheritance
RoleContext

Constructors

RoleContext(Boolean, Boolean)

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

Properties

IsExecutionRole

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

IsRemoteRole

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

Applies to