Aracılığıyla paylaş


CodePackageActivationContext.GetEndpoint(String) Method

Definition

Retrieves an EndpointResourceDescription by name.

public System.Fabric.Description.EndpointResourceDescription GetEndpoint (string endpointName);
abstract member GetEndpoint : string -> System.Fabric.Description.EndpointResourceDescription
override this.GetEndpoint : string -> System.Fabric.Description.EndpointResourceDescription
Public Function GetEndpoint (endpointName As String) As EndpointResourceDescription

Parameters

endpointName
String

The name of the endpoint.

Returns

The description of the endpoint with a specified name.

Implements

Exceptions

endpointName is null or empty

The endpoint was not found in the service manifest.

Applies to