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) が推奨される識別子です。

適用対象