TableController<TData>.LookupAsync(String) 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.
Provides a helper method for looking up an entity in a backend store. It deals with any exceptions thrown by the IDomainManager<TData> and maps them into appropriate HTTP responses.
protected virtual System.Threading.Tasks.Task<System.Web.Http.SingleResult<TData>> LookupAsync (string id);
abstract member LookupAsync : string -> System.Threading.Tasks.Task<System.Web.Http.SingleResult<'Data>>
override this.LookupAsync : string -> System.Threading.Tasks.Task<System.Web.Http.SingleResult<'Data>>
Protected Overridable Function LookupAsync (id As String) As Task(Of SingleResult(Of TData))
Parameters
- id
- String
Returns
Task<System.Web.Http.SingleResult<TData>>
An System.Web.Http.SingleResult`1 returned by the IDomainManager<TData>.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET