共用方式為


AllocatedEndpoint Class

Definition

Represents an endpoint allocated for a service instance.

public class AllocatedEndpoint
type AllocatedEndpoint = class
Public Class AllocatedEndpoint
Inheritance
AllocatedEndpoint

Constructors

AllocatedEndpoint(EndpointAnnotation, String, Int32, String, String)

Initializes a new instance of the AllocatedEndpoint class.

Properties

Address

The address of the endpoint

ContainerHostAddress

The address of the container host. This is only set for containerized services.

Endpoint

Gets the endpoint which this allocation is associated with.

EndPointString

Endpoint in string representation formatted as "Address:Port".

Port

The port used by the endpoint

TargetPortExpression

A string representing how to retrieve the target port of the AllocatedEndpoint instance.

UriScheme

For URI-addressed services, contains the scheme part of the address.

UriString

URI in string representation.

Methods

ToString()

Returns a string representation of the allocated endpoint URI.

Applies to