PlatformTelemetryClient.Register Method
Definition
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.
Overloads
Register(String) |
Registers a client with the Connected User Experience and Telemetry component. |
Register(String, PlatformTelemetryRegistrationSettings) |
Registers a client with the Connected User Experience and Telemetry component. |
Register(String)
Registers a client with the Connected User Experience and Telemetry component.
public:
static PlatformTelemetryRegistrationResult ^ Register(Platform::String ^ id);
/// [Windows.Foundation.Metadata.Overload("Register")]
static PlatformTelemetryRegistrationResult Register(winrt::hstring const& id);
[Windows.Foundation.Metadata.Overload("Register")]
public static PlatformTelemetryRegistrationResult Register(string id);
function register(id)
Public Shared Function Register (id As String) As PlatformTelemetryRegistrationResult
Parameters
- id
-
String
Platform::String
winrt::hstring
Unique string value that identifies the client.
Returns
- Attributes
Applies to
Register(String, PlatformTelemetryRegistrationSettings)
Registers a client with the Connected User Experience and Telemetry component.
public:
static PlatformTelemetryRegistrationResult ^ Register(Platform::String ^ id, PlatformTelemetryRegistrationSettings ^ settings);
/// [Windows.Foundation.Metadata.Overload("RegisterWithSettings")]
static PlatformTelemetryRegistrationResult Register(winrt::hstring const& id, PlatformTelemetryRegistrationSettings const& settings);
[Windows.Foundation.Metadata.Overload("RegisterWithSettings")]
public static PlatformTelemetryRegistrationResult Register(string id, PlatformTelemetryRegistrationSettings settings);
function register(id, settings)
Public Shared Function Register (id As String, settings As PlatformTelemetryRegistrationSettings) As PlatformTelemetryRegistrationResult
Parameters
- id
-
String
Platform::String
winrt::hstring
Unique string value that identifies the client.
PlatformTelemetryRegistrationSettings for registering a client.
Returns
- Attributes