Ejemplo n.º 1
0
 public static ITcpBinding ReaderQuotas_MaxBytesPerRead(this ITcpBinding me, int readerQuotas_MaxBytesPerRead)
 {
     (me as _TcpBinding).ReaderQuotas_MaxBytesPerRead = readerQuotas_MaxBytesPerRead;
     return(me);
 }
Ejemplo n.º 2
0
 public static ITcpBinding ConfigureTcpBinding(this ITcpBinding me, Action <NetTcpBinding> action)
 {
     (me as _TcpBinding).ConfigureTcpBindingAction = action;
     return(me);
 }
Ejemplo n.º 3
0
 public static ITcpBinding TransferMode(this ITcpBinding me, TransferMode transferMode)
 {
     (me as _TcpBinding).TransferMode = transferMode;
     return(me);
 }
Ejemplo n.º 4
0
 public static ITcpBinding ReaderQuotas_MaxArrayLength(this ITcpBinding me, int readerQuotas_MaxArrayLength)
 {
     (me as _TcpBinding).ReaderQuotas_MaxArrayLength = readerQuotas_MaxArrayLength;
     return(me);
 }
Ejemplo n.º 5
0
 public static ITcpBinding ClientCredentialType(this ITcpBinding me, MessageCredentialType clientCredentialType)
 {
     (me as _TcpBinding).ClientCredentialType = clientCredentialType;
     return(me);
 }
Ejemplo n.º 6
0
 public static ITcpBinding SecurityMode(this ITcpBinding me, SecurityMode securityMode)
 {
     (me as _TcpBinding).SecurityMode = securityMode;
     return(me);
 }
Ejemplo n.º 7
0
 public static ITcpBinding MaxReceivedMessageSize(this ITcpBinding me, long maxReceivedMessageSize)
 {
     (me as _TcpBinding).MaxReceivedMessageSize = maxReceivedMessageSize;
     return(me);
 }
Ejemplo n.º 8
0
 public static ITcpBinding MaxConnections(this ITcpBinding me, int maxConnections)
 {
     (me as _TcpBinding).MaxConnections = maxConnections;
     return(me);
 }
Ejemplo n.º 9
0
 public static ITcpBinding MaxBufferPoolSize(this ITcpBinding me, long maxBufferPoolSize)
 {
     (me as _TcpBinding).MaxBufferPoolSize = maxBufferPoolSize;
     return(me);
 }