語言

HttpConnectionParamBean.SetSoTimeout(Int32) 方法

定義

將 socket 讀取逾時存放在這個 bean 的參數集合中。

[Android.Runtime.Register("setSoTimeout", "(I)V", "GetSetSoTimeout_IHandler")]
public virtual void SetSoTimeout(int soTimeout);
[<Android.Runtime.Register("setSoTimeout", "(I)V", "GetSetSoTimeout_IHandler")>]
abstract member SetSoTimeout : int -> unit
override this.SetSoTimeout : int -> unit

參數

soTimeout
Int32

等待資料的逾時時間,以毫秒計。 零則是沒有暫停。

屬性

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於