共用方式為


AsyncServiceProvider.QueryServiceAsync Method

Definition

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

Returns

Applies to