IDataShareWriteAdapter.OnError(Int32) 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.
Method invoked when an error occurred, for example sessions has not been started or terminated unsuccessfully.
[Android.Runtime.Register("onError", "(I)V", "GetOnError_IHandler:Android.Views.ContentCaptures.IDataShareWriteAdapter, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=30)]
public virtual void OnError (int errorCode);
[<Android.Runtime.Register("onError", "(I)V", "GetOnError_IHandler:Android.Views.ContentCaptures.IDataShareWriteAdapter, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=30)>]
abstract member OnError : int -> unit
override this.OnError : int -> unit
Parameters
- errorCode
- Int32
the error code corresponding to an ERROR_* value.
- Attributes
Remarks
Method invoked when an error occurred, for example sessions has not been started or terminated unsuccessfully.
Java documentation for android.view.contentcapture.DataShareWriteAdapter.onError(int)
.
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.