ISession.Set(String, Byte[]) 方法

定義

在目前的會話中設定指定的索引鍵和值。 如果在傳送回應之前未建立會話,這會擲回。

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())

參數

key
String
value
Byte[]

適用於