我如何添加IncludeExceptionDetailInFaults = true; 到下面的代码.我需要获取Web服务抛出的FaultException的详细信息.目前我没有收到任何细节.看起来我唯一能回来的就是.有任何想法吗?
c#代码
CustomBinding Binding = new CustomBinding(BINDING_NAME);
EndpointAddress EndPoint = new EndpointAddress(WsEndpoint);
// Trust all certificates
ServicePointManager.ServerCertificateValidationCallback = ((Sender, certificate, chain, sslPolicyErrors) => true);
_WsProxy = new MyDataSoapClient(Binding, EndPoint);
//_WsProxy.Endpoint.Behaviors.Add(????);
_WsProxy.ChannelFactory.Credentials.UserName.UserName = "username";
_WsProxy.ChannelFactory.Credentials.UserName.Password = "pwd";
Run Code Online (Sandbox Code Playgroud) 当人们选择器从弹出的浏览窗口将值返回到主窗体时,是否有人试图尝试触发jquery更改事件?我在jquery语句中尝试了几个标签,但似乎没有任何效果.(SP 2010)
<wssawc:PeopleEditor AllowEmpty="false" AcceptAnyEmailAddresses="true" ValidateResolvedEntity="true"
ShowButtons="true" ShowDataValidationErrorBorder="true" ShowEntityDisplayTextInTextBox="true"
ShowErrorPlaceHolder="true" ValidatorEnabled="true" MultiSelect="false" ID="primaryOwnerPicker"
runat="server" SelectionSet="User" Width="12em" AllowTypeIn="false" DoPostBackOnResolve="false"
EnableBrowse="true" ForceClaims="true" Title="Primary Owner People Picker" />
Run Code Online (Sandbox Code Playgroud)
我试过了
$("textarea[title='Primary Owner People Picker']").change(function ()
{
alert("here");
});
Run Code Online (Sandbox Code Playgroud)
任何帮助将不胜感激...