Struct OPERATION_RESULT
- Namespace
- MASES.DataDistributionManager.Bindings.Interop
- Assembly
- DataDistributionManagerNet.dll
public struct OPERATION_RESULT : IComparable
- Implements
- Inherited Members
Constructors
OPERATION_RESULT(int)
public OPERATION_RESULT(int value)
Parameters
value
int
Fields
DDM_COMMIT_FAILED
Commit failed
public const int DDM_COMMIT_FAILED = -268435450
Field Value
DDM_DATA_AVAILABLE
Data are available
public const int DDM_DATA_AVAILABLE = 536870912
Field Value
DDM_ELAPSED_MESSAGE_ACKNOWLEDGMENT_TIMEOUT
Timeout on acknowledgment
public const int DDM_ELAPSED_MESSAGE_ACKNOWLEDGMENT_TIMEOUT = 536870917
Field Value
DDM_ELAPSED_MESSAGE_RECEIVE_TIMEOUT_BEGIN
Timeout elapsed waiting for messages from the channel
public const int DDM_ELAPSED_MESSAGE_RECEIVE_TIMEOUT_BEGIN = 536870915
Field Value
DDM_ELAPSED_MESSAGE_RECEIVE_TIMEOUT_END
End timeout condition waiting for messages from the channel
public const int DDM_ELAPSED_MESSAGE_RECEIVE_TIMEOUT_END = 536870916
Field Value
DDM_END_OF_STREAM
Reached end of stream
public const int DDM_END_OF_STREAM = 536870913
Field Value
DDM_FATAL_ERROR
Fatal
public const int DDM_FATAL_ERROR = -268435455
Field Value
DDM_INVALID_DATA
Invalid data
public const int DDM_INVALID_DATA = -268435453
Field Value
DDM_NOT_IMPLEMENTED
Function not implemented
public const int DDM_NOT_IMPLEMENTED = -268435448
Field Value
DDM_NO_DATA_RETURNED
No data returned
public const int DDM_NO_DATA_RETURNED = 536870914
Field Value
DDM_NO_ERROR_CONDITION
Success code
public const int DDM_NO_ERROR_CONDITION = 0
Field Value
DDM_PARAMETER_ERROR
Errors in parameters
public const int DDM_PARAMETER_ERROR = -268435447
Field Value
DDM_POINTER_NOT_SET
Pointer not set within subsystem
public const int DDM_POINTER_NOT_SET = -268435449
Field Value
DDM_SUBSYSTEM_NOT_STARTED
Subsystem not started
public const int DDM_SUBSYSTEM_NOT_STARTED = -268435452
Field Value
DDM_TIMEOUT
Timeout occurred
public const int DDM_TIMEOUT = -268435454
Field Value
DDM_UNMAPPED_ERROR_CONDITION
Unmapped error
public const int DDM_UNMAPPED_ERROR_CONDITION = -268435456
Field Value
DDM_WRITE_FAILED
Failed on write
public const int DDM_WRITE_FAILED = -268435451
Field Value
Properties
Failed
public bool Failed { get; }
Property Value
Succeeded
public bool Succeeded { get; }
Property Value
Methods
CompareTo(OPERATION_RESULT)
public int CompareTo(OPERATION_RESULT that)
Parameters
that
OPERATION_RESULT
Returns
CompareTo(int)
public int CompareTo(int that)
Parameters
that
int
Returns
CompareTo(object)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
public int CompareTo(object obj)
Parameters
obj
objectAn object to compare with this instance.
Returns
- int
A value that indicates the relative order of the objects being compared. The return value has these meanings: Value Meaning Less than zero This instance precedes
obj
in the sort order. Zero This instance occurs in the same position in the sort order asobj
. Greater than zero This instance followsobj
in the sort order.
Exceptions
- ArgumentException
obj
is not the same type as this instance.
Equals(OPERATION_RESULT)
public bool Equals(OPERATION_RESULT that)
Parameters
that
OPERATION_RESULT
Returns
Equals(int)
public bool Equals(int that)
Parameters
that
int
Returns
Equals(object)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object obj)
Parameters
obj
objectThe object to compare with the current instance.
Returns
- bool
true if
obj
and this instance are the same type and represent the same value; otherwise, false.
FAILED(int)
public static bool FAILED(int hr)
Parameters
hr
int
Returns
GetHashCode()
Returns the hash code for this instance.
public override int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.
SUCCEEDED(int)
public static bool SUCCEEDED(int hr)
Parameters
hr
int
Returns
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.
Operators
operator false(OPERATION_RESULT)
public static bool operator false(OPERATION_RESULT This)
Parameters
This
OPERATION_RESULT
Returns
implicit operator bool(OPERATION_RESULT)
public static implicit operator bool(OPERATION_RESULT This)
Parameters
This
OPERATION_RESULT
Returns
implicit operator int(OPERATION_RESULT)
public static implicit operator int(OPERATION_RESULT This)
Parameters
This
OPERATION_RESULT
Returns
implicit operator OPERATION_RESULT(int)
public static implicit operator OPERATION_RESULT(int This)
Parameters
This
int
Returns
operator true(OPERATION_RESULT)
public static bool operator true(OPERATION_RESULT This)
Parameters
This
OPERATION_RESULT