TransactionWaitComplete Method (TimeSpan, WaitHandle) |
Waits for transaction to complete.
Namespace: StreamCoders.RtspAssembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntaxpublic bool WaitComplete(
TimeSpan timeout,
WaitHandle abortHandle
)
Public Function WaitComplete (
timeout As TimeSpan,
abortHandle As WaitHandle
) As Boolean
public:
bool WaitComplete(
TimeSpan timeout,
WaitHandle^ abortHandle
)
member WaitComplete :
timeout : TimeSpan *
abortHandle : WaitHandle -> bool
Parameters
- timeout
- Type: SystemTimeSpan
Time to wait for transaction to complete - abortHandle
- Type: System.ThreadingWaitHandle
Additional abort handle that aborts the transaction that when signaled, IsAborted will be set to true.
Return Value
Type:
BooleanReturns true if transaction is complete, otherwise false.
See Also