Share via


InvokeResult Constructors

Definition

Overloads

InvokeResult(PredictionStatus, String, IReadOnlyList<AnomalyDetectionResult>)

Constructor for a prediction result for a anomaly detection capability.

InvokeResult(PredictionStatus, String, IReadOnlyList<ForecastingResult>)

Constructor for a prediction result for a forecasting capability.

InvokeResult(PredictionStatus, String, String)

Constructor for a prediction result for a generic capability.

InvokeResult(PredictionStatus, String, IReadOnlyList<AnomalyDetectionResult>)

Constructor for a prediction result for a anomaly detection capability.

public:
 InvokeResult(Microsoft::SystemInsights::Common::PredictionStatus status, System::String ^ description, System::Collections::Generic::IReadOnlyList<Microsoft::SystemInsights::Capability::AnomalyDetectionResult ^> ^ anomalyDetectionResults);
public InvokeResult (Microsoft.SystemInsights.Common.PredictionStatus status, string description, System.Collections.Generic.IReadOnlyList<Microsoft.SystemInsights.Capability.AnomalyDetectionResult> anomalyDetectionResults);
new Microsoft.SystemInsights.Capability.InvokeResult : Microsoft.SystemInsights.Common.PredictionStatus * string * System.Collections.Generic.IReadOnlyList<Microsoft.SystemInsights.Capability.AnomalyDetectionResult> -> Microsoft.SystemInsights.Capability.InvokeResult
Public Sub New (status As PredictionStatus, description As String, anomalyDetectionResults As IReadOnlyList(Of AnomalyDetectionResult))

Parameters

status
PredictionStatus

Overall status of the prediction

description
String

Overall status description

anomalyDetectionResults
IReadOnlyList<AnomalyDetectionResult>

List of Anomanly detection results

Applies to

InvokeResult(PredictionStatus, String, IReadOnlyList<ForecastingResult>)

Constructor for a prediction result for a forecasting capability.

public:
 InvokeResult(Microsoft::SystemInsights::Common::PredictionStatus status, System::String ^ description, System::Collections::Generic::IReadOnlyList<Microsoft::SystemInsights::Capability::ForecastingResult ^> ^ forecastingResult);
public InvokeResult (Microsoft.SystemInsights.Common.PredictionStatus status, string description, System.Collections.Generic.IReadOnlyList<Microsoft.SystemInsights.Capability.ForecastingResult> forecastingResult);
new Microsoft.SystemInsights.Capability.InvokeResult : Microsoft.SystemInsights.Common.PredictionStatus * string * System.Collections.Generic.IReadOnlyList<Microsoft.SystemInsights.Capability.ForecastingResult> -> Microsoft.SystemInsights.Capability.InvokeResult
Public Sub New (status As PredictionStatus, description As String, forecastingResult As IReadOnlyList(Of ForecastingResult))

Parameters

status
PredictionStatus

The overall status of the prediction

description
String

The description associated with the status

forecastingResult
IReadOnlyList<ForecastingResult>

List of forecasting results.

Applies to

InvokeResult(PredictionStatus, String, String)

Constructor for a prediction result for a generic capability.

public:
 InvokeResult(Microsoft::SystemInsights::Common::PredictionStatus status, System::String ^ description, System::String ^ genericResult);
public InvokeResult (Microsoft.SystemInsights.Common.PredictionStatus status, string description, string genericResult);
new Microsoft.SystemInsights.Capability.InvokeResult : Microsoft.SystemInsights.Common.PredictionStatus * string * string -> Microsoft.SystemInsights.Capability.InvokeResult
Public Sub New (status As PredictionStatus, description As String, genericResult As String)

Parameters

status
PredictionStatus

Overall status of the prediction

description
String

Overall status description

genericResult
String

Generic prediction result json blob

Applies to