ServiceBrokerOfExportedServices 클래스

정의

IServiceBroker IDE에서 모든 MEF 활성화 조정된 서비스를 효과적으로 프로퍼링하기 위해 에 프로퍼 GlobalBrokeredServiceContainer 링할 를 구현합니다.

public abstract class ServiceBrokerOfExportedServices : Microsoft.ServiceHub.Framework.IServiceBroker
type ServiceBrokerOfExportedServices = class
    interface IServiceBroker
Public MustInherit Class ServiceBrokerOfExportedServices
Implements IServiceBroker
상속
ServiceBrokerOfExportedServices
구현

설명

호스트 IDE는 이 클래스에서 파생되고 파생된 형식에 적용 ExportAttribute 되어야 합니다. 시작 시 IDE는 이 내보내기를 획득하고 를 호출 RegisterAndProfferServicesAsync(CancellationToken) 하여 MEF 내보낸 조정된 서비스를 컨테이너에 추가해야 합니다.

생성자

ServiceBrokerOfExportedServices()

IServiceBroker IDE에서 모든 MEF 활성화 조정된 서비스를 효과적으로 프로퍼링하기 위해 에 프로퍼 GlobalBrokeredServiceContainer 링할 를 구현합니다.

메서드

GetBrokeredServiceContainerAsync(CancellationToken)

전역 조정된 서비스 컨테이너를 가져옵니다.

RegisterAndProfferServices(GlobalBrokeredServiceContainer)

MEF 내보낸 조정된 서비스를 등록하고 이를 위해 팩터리를 제안합니다.

RegisterAndProfferServicesAsync(CancellationToken)

MEF 내보낸 조정된 서비스를 등록하고 이를 위해 팩터리를 제안합니다.

명시적 인터페이스 구현

IServiceBroker.AvailabilityChanged

IServiceBroker IDE에서 모든 MEF 활성화 조정된 서비스를 효과적으로 프로퍼링하기 위해 에 프로퍼 GlobalBrokeredServiceContainer 링할 를 구현합니다.

IServiceBroker.GetPipeAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken)

IServiceBroker IDE에서 모든 MEF 활성화 조정된 서비스를 효과적으로 프로퍼링하기 위해 에 프로퍼 GlobalBrokeredServiceContainer 링할 를 구현합니다.

IServiceBroker.GetProxyAsync<T>(ServiceRpcDescriptor, ServiceActivationOptions, CancellationToken)

IServiceBroker IDE에서 모든 MEF 활성화 조정된 서비스를 효과적으로 프로퍼링하기 위해 에 프로퍼 GlobalBrokeredServiceContainer 링할 를 구현합니다.

확장 메서드

GetPipeAsync(IServiceBroker, ServiceMoniker, CancellationToken)

을 통해 일부 서비스에 대한 액세스를 요청합니다 IDuplexPipe.

GetProxyAsync<T>(IServiceBroker, ServiceJsonRpcDescriptor<T>, CancellationToken)

클라이언트 프록시를 통해 일부 서비스에 대한 액세스를 요청합니다.

GetProxyAsync<T>(IServiceBroker, ServiceRpcDescriptor, CancellationToken)

클라이언트 프록시를 통해 일부 서비스에 대한 액세스를 요청합니다.

CompareLocalToRemoteVersionAsync(IServiceBroker, ServiceMoniker, CancellationToken)

로컬로 인식된 서비스를 동일한 서비스에 대해 원격으로 사용할 수 있는 서비스와 비교합니다.

ReportMissingServiceAsync(IServiceBroker, String, String, ServiceMoniker, Guid, UInt32, CancellationToken)

기능이 비활성화되거나 기능이 축소된 상태로 작동하는 이유를 설명하는 모덜리스 UI를 사용자에게 제공합니다.

적용 대상