RemoteControlClient(String, String, String, Int32, Int32, Int32) Constructor

Definition

Creates the client and starts polling.

C#
public RemoteControlClient(string hostId, string baseUrl, string relativePath, int pollingIntervalMins = 1380, int theHttpRequestTimeoutSeconds = 60, int overrideReadFileTelemetryFrequency = 1);

Parameters

hostId
String

HostId of the settings file (used to construct URL to the file: [baseUrl]/[hostId]/[relativePath]).

baseUrl
String

Base URL of the service e.g. https://az700632.vo.msecnd.net

relativePath
String

Relative path used to contruct the full URL to the file: [baseUrl]/[hostId]/[relativePath]

pollingIntervalMins
Int32

Optional. Default = 1440 minutes (24 hours). Min allowed = 5 minutes. Polling Interval (in minutes) to check the file on the server when the last request to the server succeeded.

theHttpRequestTimeoutSeconds
Int32

Optional. Default = 60 seconds. Maximum allowed = 60 seconds. HTTP request timeout used.

overrideReadFileTelemetryFrequency
Int32

Optional. Allows to set how often to send successful ReadFile telemetry, to prevent noise events Default = 1 (meaning post ReadFile telemetry every time). Min allowed is 1.

Applies to

Proizvod Verzije
Visual Studio SDK 2019, 2022