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
- System.String
Returns
- System.Threading.Tasks.Task<System.Web.Http.SingleResult<TData>>
An System.Web.Http.SingleResult`1 returned by the IDomainManager<TData>.