/// <summary> /// Commits or aborts the symbol upload process for a new set of symbols for /// the specified application /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='symbolUploadId'> /// The ID of the symbol upload /// </param> /// <param name='body'> /// The symbol information /// </param> /// <param name='ownerName'> /// The name of the owner /// </param> /// <param name='appName'> /// The name of the application /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <object> CompleteAsync(this ISymbolUploads operations, string symbolUploadId, SymbolUploadEndRequest body, string ownerName, string appName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.CompleteWithHttpMessagesAsync(symbolUploadId, body, ownerName, appName, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Commits or aborts the symbol upload process for a new set of symbols for /// the specified application /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='symbolUploadId'> /// The ID of the symbol upload /// </param> /// <param name='body'> /// The symbol information /// </param> /// <param name='ownerName'> /// The name of the owner /// </param> /// <param name='appName'> /// The name of the application /// </param> public static object Complete(this ISymbolUploads operations, string symbolUploadId, SymbolUploadEndRequest body, string ownerName, string appName) { return(operations.CompleteAsync(symbolUploadId, body, ownerName, appName).GetAwaiter().GetResult()); }