IProfferServiceContract.ProfferService 메서드

정의

구성 요소의 클라이언트에서 액세스할 수 있는 서비스 집합에 서비스를 추가합니다.

public:
 void ProfferService(System::String ^ serviceIdentifier, System::AddIn::Contract::IServiceProviderContract ^ service);
public void ProfferService(string serviceIdentifier, System.AddIn.Contract.IServiceProviderContract service);
abstract member ProfferService : string * System.AddIn.Contract.IServiceProviderContract -> unit
Public Sub ProfferService (serviceIdentifier As String, service As IServiceProviderContract)

매개 변수

serviceIdentifier
String

제공되는 서비스를 식별하는 문자열입니다.

service
IServiceProviderContract

IServiceProviderContract 제공되는 서비스를 구현하는 것입니다.

설명

매개 변수의 serviceIdentifier 형식은 구현에 의해 정의됩니다 IProfferServiceContract . URI(Uniform Resource Identifier)가 권장되는 식별자입니다.

적용 대상