共用方式為


OrleansServiceExtensions.AsClient(OrleansService) Method

Definition

Returns a model of the clients of an Orleans service.

public static Aspire.Hosting.Orleans.OrleansServiceClient AsClient (this Aspire.Hosting.Orleans.OrleansService orleansService);
static member AsClient : Aspire.Hosting.Orleans.OrleansService -> Aspire.Hosting.Orleans.OrleansServiceClient
<Extension()>
Public Function AsClient (orleansService As OrleansService) As OrleansServiceClient

Parameters

orleansService
OrleansService

The Orleans service

Returns

A model of the clients of an Orleans service.

Applies to