Enables clients to provide custom services to components on which the contract is implemented.
Assembly: System.AddIn.Contract (in System.AddIn.Contract.dll)
Specifies that the contract is accessible to a client until the client revokes the contract.(Inherited from IContract.)
Adds a service to the set of services that can be accessed by clients of a component.
Returns a contract that is implemented by this contract.(Inherited from IContract.)
Specifies that the contract is no longer accessible to a client.(Inherited from IContract.)
Removes a service from the set of services offered by a component.
A component implements IServiceProviderContract.to enable clients to offer services to the component. After a service has been offered to a component, other clients of the component can access the service. Components typically implement on the same type on which they implement
Clients use the ProfferService method to add an IServiceProviderContract to the set of service providers offered by a component. Clients use the RevokeService method to remove an IServiceProviderContract from the set of service providers offered by a component.
Available since 3.5