語言

ServiceEndpointSource 建構函式

定義

初始化新的 ServiceEndpointSource 執行個體。

public:
 ServiceEndpointSource(System::Collections::Generic::List<Microsoft::Extensions::ServiceDiscovery::ServiceEndpoint ^> ^ endpoints, Microsoft::Extensions::Primitives::IChangeToken ^ changeToken, Microsoft::AspNetCore::Http::Features::IFeatureCollection ^ features);
public ServiceEndpointSource(System.Collections.Generic.List<Microsoft.Extensions.ServiceDiscovery.ServiceEndpoint>? endpoints, Microsoft.Extensions.Primitives.IChangeToken changeToken, Microsoft.AspNetCore.Http.Features.IFeatureCollection features);
new Microsoft.Extensions.ServiceDiscovery.ServiceEndpointSource : System.Collections.Generic.List<Microsoft.Extensions.ServiceDiscovery.ServiceEndpoint> * Microsoft.Extensions.Primitives.IChangeToken * Microsoft.AspNetCore.Http.Features.IFeatureCollection -> Microsoft.Extensions.ServiceDiscovery.ServiceEndpointSource
Public Sub New (endpoints As List(Of ServiceEndpoint), changeToken As IChangeToken, features As IFeatureCollection)

參數

endpoints
List<ServiceEndpoint>

端點。

changeToken
IChangeToken

找零代幣。

features
IFeatureCollection

專題收藏。

適用於