因此,即时通讯目前正在使用C#/ XAML为Windows 8商店应用项目,我已经encountred一个问题。
当用户浏览到一个网页,一些控制一个ListView显示出来。 然后,当用户决定抓拍页我的应用程序崩溃,并显示如下:
在我的IntelliTrace这表明了,我按一个例外。
它导航我这个代码。
/// <summary>
/// Implement this partial method to configure the service endpoint.
/// </summary>
/// <param name="serviceEndpoint">The endpoint to configure</param>
/// <param name="clientCredentials">The client credentials</param>
static partial void ConfigureEndpoint(System.ServiceModel.Description.ServiceEndpoint serviceEndpoint, System.ServiceModel.Description.ClientCredentials clientCredentials);
public EmployeeAssisterClient() :
base(EmployeeAssisterClient.GetDefaultBinding(), EmployeeAssisterClient.GetDefaultEndpointAddress()) {
this.Endpoint.Name = EndpointConfiguration.TimeLoggerEndPoint.ToString();
ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
}
我的控件添加到ListView如下:
_timeReports = _timeReportDatabase.GetAll();
foreach (var timeReport in _timeReports)
{
_invoicedControls.Add(new InvoicedControl(timeReport)
{
Customer = timeReport.CustomerName,
Date = timeReport.Date,
WorkedTime = timeReport.WorkedTime.ToString(),
InvoicedTime = timeReport.InvoicedTime.ToString()
});
}
TimeReportsListViewFillView.ItemsSource = _invoicedControls;
TimeReportsListViewFullView.ItemsSource = _invoicedControls;
TimeReportsListViewPortraitView.ItemsSource = _invoicedControls;
TimeReportsListViewSnappedView.ItemsSource = _invoicedControls;
编辑================================================= =============================
这是错误至极抛出
我关掉WCF调试通过键入 “C:\ Program Files文件\微软的Visual Studio 11.0 \ Common7 \ IDE \ VsDiag_regwcf.exe -u” 进入cmd并就解决问题2/3
这是我的IntelliTrace的最后一个错误:
这个错误是什么意思? 而且确实ANY1有一个想法如何解决这一问题?