Click or drag to resize
OperationResult Class
Indicates if an operation has succeeded or failed.
Inheritance Hierarchy
SystemObject
  CoronaLabs.WinRTOperationResult

Namespace: CoronaLabs.WinRT
Assembly: CoronaLabs (in CoronaLabs.dll) Version: 255.255.255.255
Syntax
public sealed class OperationResult : IOperationResult, 
	__IOperationResultPublicNonVirtuals

The OperationResult type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberFailedWith
Creates a new OperationResult object set to failed and with the given message.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberSucceededWith
Creates a new OperationResult object set to succeeded and with the given message.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyHasFailed
Determines if the operation failed.
Public propertyHasSucceeded
Determines if the operation succeeded.
Public propertyMessage
Message providing details about the final result of the operation.
Public propertyStatic memberSucceeded
Gets a reusable OperationResult object set to succeeded and with an empty message.
Top
Remarks
Instances of this class are immutable.
See Also