共用方式為


ISSLSessionContext.SessionTimeout Property

Definition

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

Attributes

Exceptions

if seconds 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