다음을 통해 공유


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

개체 목록에서 개체를 검색해야 하는 서비스의 유형입니다.

반환

Object

지정된 서비스 유형에 대한 서비스 개체입니다.

적용 대상

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

서비스 유형에 해당하는 서비스 개체입니다.

적용 대상