/// <param name='operations'> /// Reference to the ConsoleApplication2.IConversations. /// </param> /// <param name='conversationId'> /// Required. /// </param> /// <param name='watermark'> /// Optional. /// </param> /// <param name='cancellationToken'> /// Cancellation token. /// </param> public static async Task <Conversation> ReconnectToConversationAsync(this IConversations operations, string conversationId, string watermark = null, CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Microsoft.Rest.HttpOperationResponse <ConsoleApplication2.Models.Conversation> result = await operations.ReconnectToConversationWithOperationResponseAsync(conversationId, watermark, cancellationToken).ConfigureAwait(false); return(result.Body); }