AmqpCFXEndpointOpen(String, Uri, X509Certificate2) Method |
Opens and inintializes the Endpoint. This should be called only once prior to closing the endpoint.
Namespace: CFX.TransportAssembly: CFX (in CFX.dll) Version: 2.0.0+5bb1f71a933ed371a0f5f2d5e7db34c89b75f3ea
Syntaxpublic void Open(
string cfxHandle,
Uri requestUri = null,
X509Certificate2 certificate = null
)
Public Sub Open (
cfxHandle As String,
Optional requestUri As Uri = Nothing,
Optional certificate As X509Certificate2 = Nothing
)
Parameters
- cfxHandle String
- The unique CFX Handle for this endpoint.
- requestUri Uri (Optional)
- The Uri / network address on which this endpoint will listen for incoming requests for this endpoint. amqp:// prefix
may be used for unencrypted AMQP on port 5672. amqps:// prefix may be used for secure AMQP on port 5671. You may also specify
custom ports using normal hostname:port notation. Authentication may also be specified using standard user notation: eg.
amqps://user1:password1@myhost/
- certificate X509Certificate2 (Optional)
- An X509 certificate that has been loaded from the certificate store. This is optional, and only must be set when using secure, encrypted AMQPS
See Also