NsdManager.IResolveListener.OnResolveFailed Method
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.
Called on the internal thread or with an executor passed to
NsdManager#resolveService
to report the resolution was failed with an error.
[Android.Runtime.Register("onResolveFailed", "(Landroid/net/nsd/NsdServiceInfo;I)V", "GetOnResolveFailed_Landroid_net_nsd_NsdServiceInfo_IHandler:Android.Net.Nsd.NsdManager/IResolveListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnResolveFailed (Android.Net.Nsd.NsdServiceInfo? serviceInfo, Android.Net.Nsd.NsdFailure errorCode);
[<Android.Runtime.Register("onResolveFailed", "(Landroid/net/nsd/NsdServiceInfo;I)V", "GetOnResolveFailed_Landroid_net_nsd_NsdServiceInfo_IHandler:Android.Net.Nsd.NsdManager/IResolveListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnResolveFailed : Android.Net.Nsd.NsdServiceInfo * Android.Net.Nsd.NsdFailure -> unit
- serviceInfo
- NsdServiceInfo
- errorCode
- NsdFailure
- Attributes
Called on the internal thread or with an executor passed to NsdManager#resolveService
to report the resolution was failed with an error.
A resolution operation would call either onServiceResolved or onResolveFailed once based on the result.
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.
Product | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35 |