MefInjection<TService,TInterface>.GetServiceAsync 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
검색된 서비스를 비동기적으로 반환합니다.
public System.Threading.Tasks.Task<TInterface> GetServiceAsync();
member this.GetServiceAsync : unit -> System.Threading.Tasks.Task<'Interface>
Public Function GetServiceAsync () As Task(Of TInterface)
반환
Task<TInterface>
서비스의 instanceTService.
설명
이 메서드에 대한 여러 호출은 의 동일한 instance TInterface반환합니다.