Beispiel #1
0
        WaitForNotificationBeginWrapper(
            NativeLog.KPHYSICAL_LOG_STREAM_NOTIFICATION_TYPE NotificationType,
            UInt64 NotificationValue,
            NativeCommon.IFabricAsyncOperationCallback Callback)
        {
            NativeCommon.IFabricAsyncOperationContext context;

            this._NativeStream.BeginWaitForNotification(NotificationType, NotificationValue, Callback, out context);
            return(context);
        }
Beispiel #2
0
 WaitForNotificationAsync(
     NativeLog.KPHYSICAL_LOG_STREAM_NOTIFICATION_TYPE NotificationType,
     UInt64 NotificationValue,
     CancellationToken Token)
 {
     return(Utility.WrapNativeAsyncInvokeInMTA(
                (Callback) => this.WaitForNotificationBeginWrapper(NotificationType, NotificationValue, Callback),
                (Context) => this.WaitForNotificationEndWrapper(Context),
                Token,
                "NativeLog.WaitForNotification"));
 }