Dela via


ISession.Set(String, Byte[]) Method

Definition

Set the given key and value in the current session. This will throw if the session was not established prior to sending the response.

public:
 void Set(System::String ^ key, cli::array <System::Byte> ^ value);
public void Set (string key, byte[] value);
abstract member Set : string * byte[] -> unit
Public Sub Set (key As String, value As Byte())

Parameters

key
String
value
Byte[]

Applies to