private void ProcessContainerEventsHelper(ContainerEventNotification notification)
 {
     using (var pin = new PinCollection())
     {
         var notificationPtr = notification.ToNative(pin);
         this.nativeManager.ProcessContainerEvents(notificationPtr);
     }
 }
 public void ProcessContainerEvents(ContainerEventNotification notification)
 {
     Utility.WrapNativeSyncInvokeInMTA(
         () => this.ProcessContainerEventsHelper(notification),
         "FabricContainerActivatorServiceAgent.ProcessContainerEvents");
 }