Reference
OpcEndpointIdentity Members
Represents the identity of an endpoint, which consists of its URL and its security policy.
Reference
OpcEndpointIdentity Members
- Type
- OpcEndpointIdentity
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
Constructors
OpcEndpointIdentity
| Overload | Description |
|---|---|
| Opc | Initializes a new instance of the Opcurl and policy specified. |
| Opc | Initializes a new instance of the Opcurl and policy specified. |
Exceptions (all overloads)
| Exception | Condition |
|---|---|
| Argument | The url or the policy is a null reference ( |
OpcEndpointIdentity(string, OpcSecurityPolicy)
Initializes a new instance of the OpcEndpointIdentity class using the url and policy specified.
public OpcEndpointIdentity(string url, OpcSecurityPolicy policy)Public Sub New(url As String, policy As OpcSecurityPolicy)Parameters
| Name | Type | Description |
|---|---|---|
url | String | The URL of the endpoint. |
policy | Opc | The security policy of the endpoint. |
Exceptions
| Exception | Condition |
|---|---|
| FormatException | The url is not a valid absolute URI. |
OpcEndpointIdentity(Uri, OpcSecurityPolicy)
Initializes a new instance of the OpcEndpointIdentity class using the url and policy specified.
public OpcEndpointIdentity(Uri url, OpcSecurityPolicy policy)Public Sub New(url As Uri, policy As OpcSecurityPolicy)Parameters
| Name | Type | Description |
|---|---|---|
url | Uri | The URL of the endpoint. |
policy | Opc | The security policy of the endpoint. |
Properties
Policy
Gets the security policy of the endpoint.
public OpcSecurityPolicy Policy { get; }Public ReadOnly Property Policy As OpcSecurityPolicyProperty value
The security policy of the endpoint.
Url
Gets the URL of the endpoint.
public Uri Url { get; }Public ReadOnly Property Url As UriProperty value
The URL of the endpoint.
Methods
GetCurrent
Gets the identity of the endpoint through which the server is receiving the request processed by the current thread.
public static OpcEndpointIdentity GetCurrent()Public Shared Function GetCurrent() As OpcEndpointIdentityReturns
The OpcEndpointIdentity of the endpoint, or a null reference (Nothing in Visual Basic) if the current thread does not process a request of a secure channel.
ToString
Returns a string that represents the endpoint.
public override string ToString()Public Overrides Function ToString() As StringReturns
A string containing the Url and the URI of the Policy.
Overrides

