ServiceProxyFactory Interface
public interface ServiceProxyFactory
Specifies the interface for the factory that creates proxies for remote communication to the specified service.
Method Summary
Modifier and Type | Method and Description |
---|---|
public<T extends Service> T |
createServiceProxy(Class<T> serviceInterfaceType, URI serviceUri)
Creates a proxy to communicate to the specified service using the remoted interface |
public<T extends Service> T |
createServiceProxy(Class<T> serviceInterfaceType, URI serviceUri, ServicePartitionKey partitionKey, TargetReplicaSelector targetReplicaSelector, String listenerName)
Creates a proxy to communicate to the specified service using the remoted interface |
Method Details
createServiceProxy
public public
Creates a proxy to communicate to the specified service using the remoted interface Parameters: Returns:<T>
</code> that the service implements.</p>
createServiceProxy
public public
Creates a proxy to communicate to the specified service using the remoted interface Parameters: Returns:<T>
</code> that the service implements.</p>
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應