Exemplo n.º 1
0
 public WcfBasicHttpBinding(TimeSpan objCloseTimeout, TimeSpan objOpenTimeout, TimeSpan objReceiveTimeout,
                            TimeSpan objSendTimeOut, HostNameComparisonMode enuHostNameComparisonMode, int intMaxBufferSize, long lngMaxBufferPoolSize, long lngMaxReceivedMessageSize,
                            WSMessageEncoding enuMessageEncoding, WcfReaderQuotas objReaderQuotas, BasicHttpSecurityMode enuSecurityMode, TransferMode enuTransferMode)
     : base()
 {
     CloseTimeout           = objCloseTimeout;
     OpenTimeout            = objOpenTimeout;
     ReceiveTimeout         = objReceiveTimeout;
     SendTimeout            = objSendTimeOut;
     HostNameComparisonMode = enuHostNameComparisonMode;
     MaxBufferSize          = intMaxBufferSize;
     MaxBufferPoolSize      = lngMaxBufferPoolSize;
     MaxReceivedMessageSize = lngMaxReceivedMessageSize;
     MessageEncoding        = enuMessageEncoding;
     ReaderQuotas           = objReaderQuotas;
     SecurityMode           = enuSecurityMode;
     TransferMode           = enuTransferMode;
 }
Exemplo n.º 2
0
 public WcfNetTcpBinding(TimeSpan objCloseTimeout, TimeSpan objOpenTimeout, TimeSpan objReceiveTimeout,
                         TimeSpan objSendTimeOut, HostNameComparisonMode enuHostNameComparisonMode, long lngMaxBufferPoolSize, long lngMaxReceivedMessageSize, bool blnPortSharingEnabled,
                         bool blnTransactionFlow, int intMaxBufferSize, int intMaxConnections, int intListenBacklog, TransferMode enuTransferMode, WSMessageEncoding enuMessageEncoding,
                         WcfReaderQuotas objReaderQuotas, WcfOptionalReliableSession objReliableSession, SecurityMode enuSecurityMode)
     : base()
 {
     CloseTimeout           = objCloseTimeout;
     OpenTimeout            = objOpenTimeout;
     ReceiveTimeout         = objReceiveTimeout;
     SendTimeout            = objSendTimeOut;
     HostNameComparisonMode = enuHostNameComparisonMode;
     MaxBufferPoolSize      = lngMaxBufferPoolSize;
     MaxReceivedMessageSize = lngMaxReceivedMessageSize;
     PortSharingEnabled     = blnPortSharingEnabled;
     TransactionFlow        = blnTransactionFlow;
     MaxBufferSize          = intMaxBufferSize;
     MaxConnections         = intMaxConnections;
     ListenBacklog          = intListenBacklog;
     TransferMode           = enuTransferMode;
     MessageEncoding        = enuMessageEncoding;
     ReliableSession        = objReliableSession;
     ReaderQuotas           = objReaderQuotas;
 }