RemoteControlClient Class

Definition

Client for the Remote Control Service. This client polls the service for a single settings file and keeps it up-to-date in the local IE cache (which is per-user). Developers may call the ReadFile(BehaviorOnStale) or ReadFileAsync(BehaviorOnStale) to read settings file.

C++
public ref class RemoteControlClient : IDisposable, Microsoft::VisualStudio::RemoteControl::IRemoteControlClient
Inheritance
RemoteControlClient
Implements

Constructors

Properties

FullUrl

Gets a full URL used to download to the file.

PollingIntervalMins

Gets a polling Interval to check the file on the server. This setting also determines when a file in the local IE cache is considered stale.

TelemetryLogger

Gets or sets an action which allows setting of a Telemetry Logger to collect telemetry for usage of the Remote Control.

TelemetryLogger2

Gets or sets an action which allows setting of a Telemetry Logger to collect telemetry for usage of the Remote Control. Includes Pii-option.

Methods

Dispose()

Disposes of client

ReadFile(BehaviorOnStale)

Reads the settings file based on the staleBehavior specified.

ReadFileAsync(BehaviorOnStale)

Reads the settings file based on the staleBehavior specified. This is the Async version of ReadFile method.

Applies to

Tuote Versiot
Visual Studio SDK 2019, 2022