コード例 #1
0
ファイル: WcfServiceBehavior.cs プロジェクト: wuhaiying83/EMR
        public override void WriteData(BinaryWriterExtension objBinaryWriter)
        {
            base.WriteData(objBinaryWriter);

            objBinaryWriter.Write(PerformanceCounters);
            objBinaryWriter.WriteEnum(ConcurrencyMode);
            objBinaryWriter.WriteEnum(InstanceContextMode);
        }
コード例 #2
0
        public override void WriteData(BinaryWriterExtension objBinaryWriter)
        {
            base.WriteData(objBinaryWriter);

            objBinaryWriter.WriteTimeSpan(CloseTimeout);
            objBinaryWriter.WriteTimeSpan(OpenTimeout);
            objBinaryWriter.WriteTimeSpan(ReceiveTimeout);
            objBinaryWriter.WriteTimeSpan(SendTimeout);
            objBinaryWriter.WriteEnum(HostNameComparisonMode);
            objBinaryWriter.Write(MaxBufferSize);
            objBinaryWriter.Write(MaxBufferPoolSize);
            objBinaryWriter.Write(MaxReceivedMessageSize);
            objBinaryWriter.WriteEnum(MessageEncoding);
            objBinaryWriter.WriteEnum(SecurityMode);
            objBinaryWriter.WriteEnum(TransferMode);
            objBinaryWriter.WriteTransportableObject(ReaderQuotas);
        }
コード例 #3
0
ファイル: WcfNetTcpBinding.cs プロジェクト: wuhaiying83/EMR
        public override void WriteData(BinaryWriterExtension objBinaryWriter)
        {
            base.WriteData(objBinaryWriter);

            objBinaryWriter.WriteTimeSpan(CloseTimeout);
            objBinaryWriter.WriteTimeSpan(OpenTimeout);
            objBinaryWriter.WriteTimeSpan(ReceiveTimeout);
            objBinaryWriter.WriteTimeSpan(SendTimeout);
            objBinaryWriter.WriteEnum(HostNameComparisonMode);
            objBinaryWriter.Write(MaxBufferPoolSize);
            objBinaryWriter.Write(MaxReceivedMessageSize);
            objBinaryWriter.Write(PortSharingEnabled);
            objBinaryWriter.Write(TransactionFlow);
            objBinaryWriter.Write(MaxBufferSize);
            objBinaryWriter.Write(MaxConnections);
            objBinaryWriter.Write(ListenBacklog);
            objBinaryWriter.WriteEnum(TransferMode);
            objBinaryWriter.WriteEnum(SecurityMode);
            objBinaryWriter.WriteEnum(MessageEncoding);
            objBinaryWriter.WriteTransportableObject(ReaderQuotas);
            objBinaryWriter.WriteTransportableObject(ReliableSession);
        }