CodeTransparencyClient.GetEntryV09Async 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 |
|---|---|
| GetEntryV09Async(String, CancellationToken) |
Get receipt. |
| GetEntryV09Async(String, RequestContext) |
[Protocol Method] Get receipt
|
GetEntryV09Async(String, CancellationToken)
- Source:
- CodeTransparencyClient.cs
Get receipt.
public virtual System.Threading.Tasks.Task<Azure.Response<BinaryData>> GetEntryV09Async(string entryId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetEntryV09Async : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<BinaryData>>
override this.GetEntryV09Async : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<BinaryData>>
Public Overridable Function GetEntryV09Async (entryId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BinaryData))
Parameters
- entryId
- String
ID of the entry to retrieve.
- cancellationToken
- CancellationToken
The cancellation token that can be used to cancel the operation.
Returns
Exceptions
entryId is null.
entryId is an empty string, and was expected to be non-empty.
Service returned a non-success status code.
Applies to
GetEntryV09Async(String, RequestContext)
- Source:
- CodeTransparencyClient.cs
[Protocol Method] Get receipt
- 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> GetEntryV09Async(string entryId, Azure.RequestContext context);
abstract member GetEntryV09Async : string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.GetEntryV09Async : string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function GetEntryV09Async (entryId As String, context As RequestContext) As Task(Of Response)
Parameters
- entryId
- String
ID of the entry 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
entryId is null.
entryId is an empty string, and was expected to be non-empty.
Service returned a non-success status code.