DeleteAsync() public method

Deletes the specified Session
public DeleteAsync ( ) : Task
return Task
 /// <summary>
 /// Delete the session.
 /// </summary>
 /// <returns>Once returned task is complete, the session has been deleted.</returns>
 public async Task DeleteSession()
 {
     var request = new UploadSessionRequest(this.Session, this.client, null);
     await request.DeleteAsync();
 }
 /// <summary>
 /// Delete the session.
 /// </summary>
 /// <returns>Once returned task is complete, the session has been deleted.</returns>
 public async Task DeleteSession()
 {
     var request = new UploadSessionRequest(this.Session, this.client, null);
     await request.DeleteAsync();
 }