Jaki jest maksymalny rozmiar, jaki maxReceivedMessageSize można ustawić dla NetNamedPipeBinding?

Zauważyłem, że 2147483647 wydaje się być popularnym wyborem dla maxReceivedMessageSize, ale czy to jest limit?

Author: Robert Harvey, 2009-06-17

3 answers

Nope, the limit is Int64.MaxValue1 czyli: 9223372036854775807

 42
Author: AgileJon,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2013-02-26 10:36:34

MaxMessageReceivedSize w basicHttpBinding wydaje się być int32-ustawienie go nad wartością maksymalną int32 daje:

To fabryczne buforowanie wiadomości, więc rozmiar wiadomości musi być w zakresie wartości całkowitej. Nazwa parametru: bindingElement.MaxReceivedMessageSize

 9
Author: AndySw,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2014-01-28 07:27:57

MaxReceivedMessageSize i MaxBufferSize musi mieć tę samą wartość i MaxBufferSize jest Int32.

 3
Author: fernando,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2013-01-24 12:57:14