CodeTransparencyClient.GetOperationV09Async Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| GetOperationV09Async(String, RequestContext) |
[Protocol Method] Get status of the long running registration operation. Deprecated in SCRAPI v09 but retained unchanged for backward compatibility; clients should poll /entries/{entryId} directly.
|
| GetOperationV09Async(String, CancellationToken) |
Get status of the long running registration operation. Deprecated in SCRAPI v09 but retained unchanged for backward compatibility; clients should poll /entries/{entryId} directly. |
GetOperationV09Async(String, RequestContext)
- Source:
- CodeTransparencyClient.cs
[Protocol Method] Get status of the long running registration operation. Deprecated in SCRAPI v09 but retained unchanged for backward compatibility; clients should poll /entries/{entryId} directly.
- This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual System.Threading.Tasks.Task<Azure.Response> GetOperationV09Async(string operationId, Azure.RequestContext context);
abstract member GetOperationV09Async : string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.GetOperationV09Async : string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function GetOperationV09Async (operationId As String, context As RequestContext) As Task(Of Response)
Parameters
- operationId
- String
ID of the operation to retrieve.
- context
- RequestContext
The request options, which can override default behaviors of the client pipeline on a per-call basis.
Returns
The response returned from the service.
Exceptions
operationId is null.
operationId is an empty string, and was expected to be non-empty.
Service returned a non-success status code.
Applies to
GetOperationV09Async(String, CancellationToken)
- Source:
- CodeTransparencyClient.cs
Get status of the long running registration operation. Deprecated in SCRAPI v09 but retained unchanged for backward compatibility; clients should poll /entries/{entryId} directly.
public virtual System.Threading.Tasks.Task<Azure.Response<BinaryData>> GetOperationV09Async(string operationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetOperationV09Async : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<BinaryData>>
override this.GetOperationV09Async : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<BinaryData>>
Public Overridable Function GetOperationV09Async (operationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BinaryData))
Parameters
- operationId
- String
ID of the operation to retrieve.
- cancellationToken
- CancellationToken
The cancellation token that can be used to cancel the operation.
Returns
Exceptions
operationId is null.
operationId is an empty string, and was expected to be non-empty.
Service returned a non-success status code.