Share via


ISSLSession.RemoveValue(String) Method

Definition

Removes the object bound to the given name in the session's application layer data.

[Android.Runtime.Register("removeValue", "(Ljava/lang/String;)V", "GetRemoveValue_Ljava_lang_String_Handler:Javax.Net.Ssl.ISSLSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void RemoveValue (string? name);
[<Android.Runtime.Register("removeValue", "(Ljava/lang/String;)V", "GetRemoveValue_Ljava_lang_String_Handler:Javax.Net.Ssl.ISSLSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member RemoveValue : string -> unit

Parameters

name
String

the name of the object to remove visible across different access control contexts

Attributes

Exceptions

if name is null.

Remarks

Removes the object bound to the given name in the session's application layer data. Does nothing if there is no object bound to the given name. If the bound existing object implements the SessionBindingListener interface, it is notified appropriately.

For security reasons, the same named values may not be visible across different access control contexts.

Java documentation for javax.net.ssl.SSLSession.removeValue(java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to