22.5. .NET Binding for the C++ Messaging API Class: Duration
.NET Binding Class: Duration | |
---|---|
Language | Syntax |
C++ | class Duration |
.NET | public ref class Duration |
Constructor | |
C++ | explicit Duration(uint64_t milliseconds); |
.NET | public Duration(ulong mS); |
Copy constructor | |
C++ | not applicable |
.NET | public Duration(Duration rhs); |
Destructor | |
C++ | default |
.NET | default |
Finalizer | |
C++ | not applicable |
.NET | default |
Property: Milliseconds | |
C++ | uint64_t getMilliseconds() const; |
.NET | public ulong Milliseconds { get; } |
Operator: * | |
C++ | Duration operator*(const Duration& duration, uint64_t multiplier); |
.NET | public static Duration operator *(Duration dur, ulong multiplier); |
.NET | public static Duration Multiply(Duration dur, ulong multiplier); |
C++ | Duration operator*(uint64_t multiplier, const Duration& duration); |
.NET | public static Duration operator *(ulong multiplier, Duration dur); |
.NET | public static Duration Multiply(ulong multiplier, Duration dur); |
Constants | |
C++ | static const Duration FOREVER; |
C++ | static const Duration IMMEDIATE; |
C++ | static const Duration SECOND; |
C++ | static const Duration MINUTE; |
.NET | public sealed class DurationConstants |
.NET | public static Duration FORVER; |
.NET | public static Duration IMMEDIATE; |
.NET | public static Duration MINUTE; |
.NET | public static Duration SECOND; |
See Also: