/// <summary> /// Enable HockeyApp crash forwarding for SxS apps /// </summary> /// <remarks> /// Enable HockeyApp crash forwarding for SxS apps /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='body'> /// Enable Forwarding /// </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 <HockeyAppCrashForwardingInfo> UpdateHockeyAppCrashForwardingAsync(this ICrashes operations, HockeyAppCrashForwardingChange body, string ownerName, string appName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.UpdateHockeyAppCrashForwardingWithHttpMessagesAsync(body, ownerName, appName, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Enable HockeyApp crash forwarding for SxS apps /// </summary> /// <remarks> /// Enable HockeyApp crash forwarding for SxS apps /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='body'> /// Enable Forwarding /// </param> /// <param name='ownerName'> /// The name of the owner /// </param> /// <param name='appName'> /// The name of the application /// </param> public static HockeyAppCrashForwardingInfo UpdateHockeyAppCrashForwarding(this ICrashes operations, HockeyAppCrashForwardingChange body, string ownerName, string appName) { return(operations.UpdateHockeyAppCrashForwardingAsync(body, ownerName, appName).GetAwaiter().GetResult()); }