Share via


DistributedSession.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:
 virtual void Set(System::String ^ key, cli::array <System::Byte> ^ value);
public void Set (string key, byte[] value);
abstract member Set : string * byte[] -> unit
override this.Set : string * byte[] -> unit
Public Sub Set (key As String, value As Byte())

Parameters

key
String
value
Byte[]

Implements

Applies to