wsHttp समर्थन स्ट्रीमिंग क्यों नहीं करता है?wsHttp समर्थन स्ट्रीमिंग क्यों नहीं है?
संपादित करें: netTcpBinding के बारे में मेरी टिप्पणी का परीक्षण करने के लिए, मैं निम्नलिखित कोड की कोशिश की है, जो रनटाइम त्रुटि देता है:
<netTcpBinding >
<binding name="myBinding" transferMode="Streamed">
<reliableSession enabled="true"/>
</binding>
</netTcpBinding>
रनटाइम अपवाद:
Unhandled Exception: System.InvalidOperationException: Transfer mode Streamed is
not supported by ReliableSessionBindingElement.
at System.ServiceModel.Channels.ReliableSessionBindingElement.VerifyTransport
Mode(BindingContext context)
अगर <reliableSession enabled="true"/>
निकाल दिया जाता है, कोड काम करता है।
क्योंकि उन्होंने इसे डिज़ाइन नहीं किया था। –