ISSLSession.PutValue(String, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Binds the specified value
object into the
session's application layer data
with the given name
.
[Android.Runtime.Register("putValue", "(Ljava/lang/String;Ljava/lang/Object;)V", "GetPutValue_Ljava_lang_String_Ljava_lang_Object_Handler:Javax.Net.Ssl.ISSLSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void PutValue (string? name, Java.Lang.Object? value);
[<Android.Runtime.Register("putValue", "(Ljava/lang/String;Ljava/lang/Object;)V", "GetPutValue_Ljava_lang_String_Ljava_lang_Object_Handler:Javax.Net.Ssl.ISSLSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member PutValue : string * Java.Lang.Object -> unit
Parameters
- name
- String
the name to which the data object will be bound. This may not be null.
- value
- Object
the data object to be bound. This may not be null.
- Attributes
Exceptions
if either name
or value
is null
.
Remarks
Binds the specified value
object into the session's application layer data with the given name
.
Any existing binding using the same name
is replaced. If the new (or existing) value
implements the SSLSessionBindingListener
interface, the object represented by value
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.putValue(java.lang.String, java.lang.Object)
.
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.