ISSLSessionContext.SessionTimeout Property
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.
Returns the timeout for sessions in this session context.
public int SessionTimeout { [Android.Runtime.Register("getSessionTimeout", "()I", "GetGetSessionTimeoutHandler:Javax.Net.Ssl.ISSLSessionContextInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; [Android.Runtime.Register("setSessionTimeout", "(I)V", "GetSetSessionTimeout_IHandler:Javax.Net.Ssl.ISSLSessionContextInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] set; }
[<get: Android.Runtime.Register("getSessionTimeout", "()I", "GetGetSessionTimeoutHandler:Javax.Net.Ssl.ISSLSessionContextInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<set: Android.Runtime.Register("setSessionTimeout", "(I)V", "GetSetSessionTimeout_IHandler:Javax.Net.Ssl.ISSLSessionContextInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.SessionTimeout : int with get, set
Property Value
The session timeout limit, in seconds; zero indicates no limit.
- Attributes
Exceptions
if seconds is negative.
Remarks
Java documentation for javax.net.ssl.SSLSessionContext.getSessionTimeout().
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.