DnsOptions.Builder.SetStaleDnsOptions(DnsOptions+StaleDnsOptions) 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.
Sets detailed configuration for stale DNS.
[Android.Runtime.Register("setStaleDnsOptions", "(Landroid/net/http/DnsOptions$StaleDnsOptions;)Landroid/net/http/DnsOptions$Builder;", "", ApiSince=34)]
public Android.Net.Http.DnsOptions.Builder SetStaleDnsOptions(Android.Net.Http.DnsOptions.StaleDnsOptions staleDnsOptions);
[<Android.Runtime.Register("setStaleDnsOptions", "(Landroid/net/http/DnsOptions$StaleDnsOptions;)Landroid/net/http/DnsOptions$Builder;", "", ApiSince=34)>]
member this.SetStaleDnsOptions : Android.Net.Http.DnsOptions.StaleDnsOptions -> Android.Net.Http.DnsOptions.Builder
Parameters
- staleDnsOptions
- DnsOptions.StaleDnsOptions
Returns
this builder for chaining. This value cannot be null.
- Attributes
Remarks
Sets detailed configuration for stale DNS. Only relevant if setStaleDns(int) is set.
Android reference for android.net.http.DnsOptions.Builder.setStaleDnsOptions.
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.