Opc.Ua.Core
UpdateFromServerAsync(Uri,MessageSecurityMode,String,CancellationToken) Method



Opc.Ua Namespace > ConfiguredEndpoint Class > UpdateFromServerAsync Method : UpdateFromServerAsync(Uri,MessageSecurityMode,String,CancellationToken) Method
Updates an endpoint with information from the server's discovery endpoint.
Syntax
'Declaration
 
Public Overloads Function UpdateFromServerAsync( _
   ByVal endpointUrl As Uri, _
   ByVal securityMode As MessageSecurityMode, _
   ByVal securityPolicyUri As String, _
   Optional ByVal ct As CancellationToken _
) As Task
'Usage
 
Dim instance As ConfiguredEndpoint
Dim endpointUrl As Uri
Dim securityMode As MessageSecurityMode
Dim securityPolicyUri As String
Dim ct As CancellationToken
Dim value As Task
 
value = instance.UpdateFromServerAsync(endpointUrl, securityMode, securityPolicyUri, ct)
public Task UpdateFromServerAsync( 
   Uri endpointUrl,
   MessageSecurityMode securityMode,
   string securityPolicyUri,
   CancellationToken ct
)
public:
Task^ UpdateFromServerAsync( 
   Uri^ endpointUrl,
   MessageSecurityMode securityMode,
   String^ securityPolicyUri,
   CancellationToken ct
) 

Parameters

endpointUrl
securityMode
securityPolicyUri
ct
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

ConfiguredEndpoint Class
ConfiguredEndpoint Members
Overload List