 <p>Since your parameters are named differently, not too big a deal to query for each one.</p> <pre><code>string ok = string.Empty; NavigationContext.QueryString.TryGetValue("ok", out ok); string ko = string.Empty; NavigationContext.QueryString.TryGetValue("ko", out ko); </code></pre>