ObjectDiagnosticsSession.UploadDiagnosticsAsync 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.
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.