Udostępnij za pośrednictwem


ServiceBrokerOfExportedServices.IServiceBroker.GetProxyAsync<T> Method

Definition

System.Threading.Tasks.ValueTask<T?> IServiceBroker.GetProxyAsync<T> (Microsoft.ServiceHub.Framework.ServiceRpcDescriptor serviceDescriptor, Microsoft.ServiceHub.Framework.ServiceActivationOptions options, System.Threading.CancellationToken cancellationToken) where T : class;
abstract member Microsoft.ServiceHub.Framework.IServiceBroker.GetProxyAsync : Microsoft.ServiceHub.Framework.ServiceRpcDescriptor * Microsoft.ServiceHub.Framework.ServiceActivationOptions * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<'T (requires 'T : null)> (requires 'T : null)
override this.Microsoft.ServiceHub.Framework.IServiceBroker.GetProxyAsync : Microsoft.ServiceHub.Framework.ServiceRpcDescriptor * Microsoft.ServiceHub.Framework.ServiceActivationOptions * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<'T (requires 'T : null)> (requires 'T : null)
Function GetProxyAsync(Of T As Class) (serviceDescriptor As ServiceRpcDescriptor, options As ServiceActivationOptions, cancellationToken As CancellationToken) As ValueTask(Of T) Implements IServiceBroker.GetProxyAsync

Type Parameters

T

Parameters

serviceDescriptor
ServiceRpcDescriptor
cancellationToken
CancellationToken

Returns

Implements

Applies to