Opc.Ua.Core
CreateUaBinaryChannel(ApplicationConfiguration,EndpointDescription,EndpointConfiguration,X509Certificate2,X509Certificate2Collection,IServiceMessageContext) Method



Opc.Ua Namespace > UaChannelBase Class > CreateUaBinaryChannel Method : CreateUaBinaryChannel(ApplicationConfiguration,EndpointDescription,EndpointConfiguration,X509Certificate2,X509Certificate2Collection,IServiceMessageContext) Method
The application configuration.
The description for the endpoint.
The configuration to use with the endpoint.
The client certificate.
The client certificate chain.
The message context to use when serializing the messages.
Creates a new UA-binary transport channel if requested. Null otherwise.
Syntax
'Declaration
 
Public Overloads Shared Function CreateUaBinaryChannel( _
   ByVal configuration As ApplicationConfiguration, _
   ByVal description As EndpointDescription, _
   ByVal endpointConfiguration As EndpointConfiguration, _
   ByVal clientCertificate As X509Certificate2, _
   ByVal clientCertificateChain As X509Certificate2Collection, _
   ByVal messageContext As IServiceMessageContext _
) As ITransportChannel
'Usage
 
Dim configuration As ApplicationConfiguration
Dim description As EndpointDescription
Dim endpointConfiguration As EndpointConfiguration
Dim clientCertificate As X509Certificate2
Dim clientCertificateChain As X509Certificate2Collection
Dim messageContext As IServiceMessageContext
Dim value As ITransportChannel
 
value = UaChannelBase.CreateUaBinaryChannel(configuration, description, endpointConfiguration, clientCertificate, clientCertificateChain, messageContext)

Parameters

configuration
The application configuration.
description
The description for the endpoint.
endpointConfiguration
The configuration to use with the endpoint.
clientCertificate
The client certificate.
clientCertificateChain
The client certificate chain.
messageContext
The message context to use when serializing the messages.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

UaChannelBase Class
UaChannelBase Members
Overload List