ExternalServiceResource Constructors
ClassConstructors2 members
Represents an external service resource with service discovery capabilities.
Constructor(string, Uri)Section titled Constructor(string, Uri) Creates a new instance of
ExternalServiceResource with a specified name and URI. public sealed class ExternalServiceResource{ public ExternalServiceResource( string name, Uri uri) { // ... }}Parameters
namestringThe name of the resource.uriUriThe URI for the external service.Remarks
The URI must be an absolute URI with the absolute path ending with '/'. The URI cannot contain a fragment or query string.
Constructor(string, ParameterResource)Section titled Constructor(string, ParameterResource) Creates a new instance of
ExternalServiceResource with a specified name and URL parameter. public sealed class ExternalServiceResource{ public ExternalServiceResource( string name, ParameterResource urlParameter) { // ... }}Parameters
namestringThe name of the resource.urlParameterParameterResourceThe parameter to use for the URL of the external service.