Edit

Share via


SqlEnclaveSession(Byte[], Int64) Constructor

Definition

Instantiates a new instance of the SqlEnclaveSession class.

public:
 SqlEnclaveSession(cli::array <System::Byte> ^ sessionKey, long sessionId);
public SqlEnclaveSession (byte[] sessionKey, long sessionId);
new System.Data.SqlClient.SqlEnclaveSession : byte[] * int64 -> System.Data.SqlClient.SqlEnclaveSession
Public Sub New (sessionKey As Byte(), sessionId As Long)

Parameters

sessionKey
Byte[]

The symmetric key used to encrypt all the information sent using the session.

sessionId
Int64

The session ID.

Exceptions

sessionKey is null.

sessionKey has zero length.

Applies to