Udostępnij za pośrednictwem


ISSLSessionContext.SessionCacheSize Property

Definition

Returns the size of the session cache for this session context.

public int SessionCacheSize { [Android.Runtime.Register("getSessionCacheSize", "()I", "GetGetSessionCacheSizeHandler:Javax.Net.Ssl.ISSLSessionContextInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; [Android.Runtime.Register("setSessionCacheSize", "(I)V", "GetSetSessionCacheSize_IHandler:Javax.Net.Ssl.ISSLSessionContextInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] set; }
[<get: Android.Runtime.Register("getSessionCacheSize", "()I", "GetGetSessionCacheSizeHandler:Javax.Net.Ssl.ISSLSessionContextInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<set: Android.Runtime.Register("setSessionCacheSize", "(I)V", "GetSetSessionCacheSize_IHandler:Javax.Net.Ssl.ISSLSessionContextInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.SessionCacheSize : int with get, set

Property Value

Attributes

Exceptions

if size is negative.

Remarks

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