AsyncServiceProvider.QueryServiceAsync 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
QueryServiceAsync(Guid) | |
QueryServiceAsync(Type) |
QueryServiceAsync(Guid)
public:
System::Threading::Tasks::Task<System::Object ^> ^ QueryServiceAsync(Guid serviceId);
public System.Threading.Tasks.Task<object> QueryServiceAsync (Guid serviceId);
member this.QueryServiceAsync : Guid -> System.Threading.Tasks.Task<obj>
Public Function QueryServiceAsync (serviceId As Guid) As Task(Of Object)
Parameters
- serviceId
- Guid
Returns
Applies to
QueryServiceAsync(Type)
public:
System::Threading::Tasks::Task<System::Object ^> ^ QueryServiceAsync(Type ^ serviceType);
public System.Threading.Tasks.Task<object> QueryServiceAsync (Type serviceType);
member this.QueryServiceAsync : Type -> System.Threading.Tasks.Task<obj>
Public Function QueryServiceAsync (serviceType As Type) As Task(Of Object)
Parameters
- serviceType
- Type