110,536
社区成员
发帖
与我相关
我的任务
分享
WSHttpBinding wshb = new WSHttpBinding(SecurityMode.None);
wshb.TransactionFlow = true;
wshb.MaxReceivedMessageSize = 2147483646;
wshb.MaxBufferPoolSize = 2147483646;
wshb.ReaderQuotas.MaxDepth = 32;
wshb.ReaderQuotas.MaxStringContentLength = 52428800;
wshb.ReaderQuotas.MaxArrayLength = 52428800;
wshb.ReaderQuotas.MaxBytesPerRead = 52428800;
wshb.ReaderQuotas.MaxNameTableCharCount = 16384;
wshb.Security.Message.ClientCredentialType = System.ServiceModel.MessageCredentialType.Windows;
wshb.Security.Transport.ClientCredentialType = System.ServiceModel.HttpClientCredentialType.Windows;
bindinginstance = wshb;