Tuesday, May 21, 2013
HomeHomeDiscussionsDiscussionsS-Expert 3.0S-Expert 3.0OnCreateclientGuard parameter does not exist in the current contextOnCreateclientGuard parameter does not exist in the current context
Previous
 
Next
New Post
3/17/2011 6:23 AM
 
Hi,

I've got this problem when I generate a SL client

"parameter does not exist in the current context"

private void OnCreateClientDecisionPointWorkerCompleted(object sender, global::System.ComponentModel.RunWorkerCompletedEventArgs e)

{

OnCreateClientGuard guard = (OnCreateClientGuard)e.Result;

switch (guard)

{

case OnCreateClientGuard.Success:

this.EventAggregator.GetEvent<Infrastructure::ClientSuccessEvent>().Publish(parameter.ClientSuccessEventArgs);

break;

case OnCreateClientGuard.Fail:

AccountChoice accountChoice = null;

foreach (object view in this.RegionManager.Regions["R1"].Views)

{

if (view is AccountChoice)

{

accountChoice = view as AccountChoice;

break;

}

}

if (null == accountChoice)

{

accountChoice = this.Container.GetExportedValue<AccountChoice>();

this.RegionManager.Regions["R1"].Add(accountChoice);

}

this.RegionManager.Regions["R1"].Activate(accountChoice);

break;

default:

break;

}

}

 
New Post
4/12/2011 4:32 PM
 
Fixed in the build 3.0.5.1201.
Best Regards,

Tamer Aboraya - Product Manager - Sculpture project
 
Previous
 
Next
HomeHomeDiscussionsDiscussionsS-Expert 3.0S-Expert 3.0OnCreateclientGuard parameter does not exist in the current contextOnCreateclientGuard parameter does not exist in the current context


DOWNLOAD   |   PRODUCTS   |   STORE   |   SUPPORT   |   BLOG   |   ABOUT
Copyright 2011 by Modelingsoft Corporation