WorkflowRuntimeEndpoint.GetService メソッド

定義

オーバーロード

名前 説明
GetService(Type)

サービス オブジェクトの一覧から、指定したサービスの種類のサービス オブジェクトを取得します。

GetService<T>()

テンプレート パラメーターとして指定されたサービスの種類に対応するサービス オブジェクトを取得します。

GetService(Type)

サービス オブジェクトの一覧から、指定したサービスの種類のサービス オブジェクトを取得します。

public:
 System::Object ^ GetService(Type ^ serviceType);
public object GetService(Type serviceType);
member this.GetService : Type -> obj
Public Function GetService (serviceType As Type) As Object

パラメーター

serviceType
Type

オブジェクトの一覧からオブジェクトを取得する必要があるサービスの型。

返品

指定したサービスの種類のサービス オブジェクト。

適用対象

GetService<T>()

テンプレート パラメーターとして指定されたサービスの種類に対応するサービス オブジェクトを取得します。

public:
generic <typename T>
 T GetService();
public T GetService<T>();
member this.GetService : unit -> 'T
Public Function GetService(Of T) () As T

型パラメーター

T

取得するサービスの種類。

返品

T

サービスの種類に対応するサービス オブジェクト。

適用対象