RemoteControlClient(String, String, String, Int32, Int32, Int32) Constructor
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates the client and starts polling.
public RemoteControlClient(string hostId, string baseUrl, string relativePath, int pollingIntervalMins = 1380, int theHttpRequestTimeoutSeconds = 60, int overrideReadFileTelemetryFrequency = 1);
new Microsoft.VisualStudio.RemoteControl.RemoteControlClient : string * string * string * int * int * int -> Microsoft.VisualStudio.RemoteControl.RemoteControlClient
Public Sub New (hostId As String, baseUrl As String, relativePath As String, Optional pollingIntervalMins As Integer = 1380, Optional theHttpRequestTimeoutSeconds As Integer = 60, Optional overrideReadFileTelemetryFrequency As Integer = 1)
- 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.
Proizvod | Verzije |
---|---|
Visual Studio SDK | 2019, 2022 |