Skip to content

ServiceLookupEditorAttribute.TryGetServiceFromEndpoint method

Tries to get the service URL from an endpoint type and action name.

public static string? TryGetServiceFromEndpoint(Type endpoint, string? actionName)
parameter description
endpoint The endpoint type
actionName The action name

Return Value

The service URL if found; otherwise, null

See Also