Skip to content

Commit

Permalink
Add lro enum (#27284)
Browse files Browse the repository at this point in the history
* add lro enum

* add comments

* update api
  • Loading branch information
m-nash authored Mar 2, 2022
1 parent 539c504 commit 03191ea
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sdk/core/Azure.Core/api/Azure.Core.net461.cs
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,11 @@ public partial class SyncAsyncEventArgs : System.EventArgs
public System.Threading.CancellationToken CancellationToken { get { throw null; } }
public bool IsRunningSynchronously { get { throw null; } }
}
public enum WaitUntil
{
Completed = 0,
Started = 1,
}
}
namespace Azure.Core
{
Expand Down
5 changes: 5 additions & 0 deletions sdk/core/Azure.Core/api/Azure.Core.net5.0.cs
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,11 @@ public partial class SyncAsyncEventArgs : System.EventArgs
public System.Threading.CancellationToken CancellationToken { get { throw null; } }
public bool IsRunningSynchronously { get { throw null; } }
}
public enum WaitUntil
{
Completed = 0,
Started = 1,
}
}
namespace Azure.Core
{
Expand Down
5 changes: 5 additions & 0 deletions sdk/core/Azure.Core/api/Azure.Core.netcoreapp2.1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,11 @@ public partial class SyncAsyncEventArgs : System.EventArgs
public System.Threading.CancellationToken CancellationToken { get { throw null; } }
public bool IsRunningSynchronously { get { throw null; } }
}
public enum WaitUntil
{
Completed = 0,
Started = 1,
}
}
namespace Azure.Core
{
Expand Down
5 changes: 5 additions & 0 deletions sdk/core/Azure.Core/api/Azure.Core.netstandard2.0.cs
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,11 @@ public partial class SyncAsyncEventArgs : System.EventArgs
public System.Threading.CancellationToken CancellationToken { get { throw null; } }
public bool IsRunningSynchronously { get { throw null; } }
}
public enum WaitUntil
{
Completed = 0,
Started = 1,
}
}
namespace Azure.Core
{
Expand Down
21 changes: 21 additions & 0 deletions sdk/core/Azure.Core/src/WaitUntil.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

namespace Azure
{
/// <summary>
/// Indicates whether the invocation of a long running operation should return once it has
/// started or wait for the server operation to fully complete before returning.
/// </summary>
public enum WaitUntil
{
/// <summary>
/// Indicates the method should wait until the server operation fully completes.
/// </summary>
Completed,
/// <summary>
/// Indicates the method should return once the server operation has started.
/// </summary>
Started
}
}

0 comments on commit 03191ea

Please sign in to comment.