Compartir a través de


ObjectDiagnosticsSession.UploadDiagnosticsAsync Method

Definition

Uploads diagnostics to the Azure Object Anchors service and returns the job status. Throws exception on invalid diagnostics package or incorrect account credentials.

public static System.Threading.Tasks.Task<Microsoft.Azure.ObjectAnchors.Diagnostics.ObjectDiagnosticsUploadStatus> UploadDiagnosticsAsync (string diagnosticsFilePath, Microsoft.Azure.ObjectAnchors.ObjectAnchorsSession objectAnchorsSession);
static member UploadDiagnosticsAsync : string * Microsoft.Azure.ObjectAnchors.ObjectAnchorsSession -> System.Threading.Tasks.Task<Microsoft.Azure.ObjectAnchors.Diagnostics.ObjectDiagnosticsUploadStatus>
Public Shared Function UploadDiagnosticsAsync (diagnosticsFilePath As String, objectAnchorsSession As ObjectAnchorsSession) As Task(Of ObjectDiagnosticsUploadStatus)

Parameters

diagnosticsFilePath
String

The diagnostics file path.

objectAnchorsSession
ObjectAnchorsSession

ObjectAnchorsSessionThe Azure Object Anchors session.

Returns

Applies to