Dela via


ArmDesktopVirtualizationModelFactory.SessionHostHealthCheckFailureDetails Method

Definition

Initializes a new instance of SessionHostHealthCheckFailureDetails.

public static Azure.ResourceManager.DesktopVirtualization.Models.SessionHostHealthCheckFailureDetails SessionHostHealthCheckFailureDetails (string message = default, int? errorCode = default, DateTimeOffset? lastHealthCheckOn = default);
static member SessionHostHealthCheckFailureDetails : string * Nullable<int> * Nullable<DateTimeOffset> -> Azure.ResourceManager.DesktopVirtualization.Models.SessionHostHealthCheckFailureDetails
Public Shared Function SessionHostHealthCheckFailureDetails (Optional message As String = Nothing, Optional errorCode As Nullable(Of Integer) = Nothing, Optional lastHealthCheckOn As Nullable(Of DateTimeOffset) = Nothing) As SessionHostHealthCheckFailureDetails

Parameters

message
String

Failure message: hints on what is wrong and how to recover.

errorCode
Nullable<Int32>

Error code corresponding for the failure.

lastHealthCheckOn
Nullable<DateTimeOffset>

The timestamp of the last update.

Returns

A new SessionHostHealthCheckFailureDetails instance for mocking.

Applies to