SyncResult.HasHardError Property
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.
Convenience method for determining if the SyncResult indicates that a hard error occurred.
public bool HasHardError { [Android.Runtime.Register("hasHardError", "()Z", "")] get; }
[<get: Android.Runtime.Register("hasHardError", "()Z", "")>]
member this.HasHardError : bool
Property Value
true if a hard error is indicated
- Attributes
Remarks
Convenience method for determining if the SyncResult indicates that a hard error occurred. See #SyncResult()
for an explanation of what the SyncManager does when it sees a hard error.
A hard error is indicated when any of the following is true: <ul> <li> SyncStats#numParseExceptions
> 0 <li> SyncStats#numConflictDetectedExceptions
> 0 <li> SyncStats#numAuthExceptions
> 0 <li> #tooManyDeletions
<li> #tooManyRetries
<li> #databaseError
Java documentation for android.content.SyncResult.hasHardError()
.
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.