EasyUA Reference
CreateSession(EndpointDescription,String) Method
See Also  Send Feedback
EasyUA Assembly > Advosol.EasyUA Namespace > UaClient Class > CreateSession Method : CreateSession(EndpointDescription,String) Method

endpoint
The endpoint description of the endpoint to be used for the server access.
sessionName
The name to assign to the session.

Glossary Item Box

Creates a new communication session with a server by invoking the CreateSession service.

Syntax

Visual Basic (Usage)Copy Code
Dim instance As UaClient
Dim endpoint As EndpointDescription
Dim sessionName As String
Dim value As Session
 
value = instance.CreateSession(endpoint, sessionName)
C# 
public Session CreateSession( 
   EndpointDescription endpoint,
   string sessionName
)

Parameters

endpoint
The endpoint description of the endpoint to be used for the server access.
sessionName
The name to assign to the session.

Return Value

The new session object.

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.