ServiceEndpointSource 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化新的 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
專題收藏。