I am creating a Windows Phone 8.1 App,in which I am capable of receiving a **raw** push notification using WNS.

I discovered following two scenarios:   

1)Notification delivery event,used when app is running i.e. in foreground  

2)Background task triggered by the raw notification,used when app is not running .

I am able to receive Push notification when application is in foreground and when not running(in background).To receive notification in background I used background task.

Means I can receive notification in these scenarios:  

1)when app is in foreground  

2)when app is in background

I am able to get notification when app is in background as I registered background task.
Will that background task work when app is not in memory?
I am not able to receive notification when application is **closed**.

My question is:**Can I be able to get that raw push notification when my app is closed and I registered with background task?**

Any help is appreciated.
Thanks.