Noemax.WCFX.Behaviors Namespace : EnumerableStreamAttribute Class |
'Declaration <System.AttributeUsageAttribute(ValidOn=AttributeTargets.Method, AllowMultiple=False, Inherited=True)> Public Class EnumerableStreamAttribute Inherits System.Attribute
'Usage Dim instance As EnumerableStreamAttribute
[System.AttributeUsage(ValidOn=AttributeTargets.Method, AllowMultiple=false, Inherited=true)] public class EnumerableStreamAttribute : System.Attribute
public class EnumerableStreamAttribute = class(System.Attribute)
System.AttributeUsageAttribute(ValidOn=AttributeTargets.Method, AllowMultiple=, Inherited=) public class EnumerableStreamAttribute extends System.Attribute
[System.AttributeUsage(ValidOn=AttributeTargets.Method, AllowMultiple=false, Inherited=true)] public __gc class EnumerableStreamAttribute : public System.Attribute
[System.AttributeUsage(ValidOn=AttributeTargets.Method, AllowMultiple=false, Inherited=true)] public ref class EnumerableStreamAttribute : public System.Attribute
The EnumerableStreamBehavior performs streamed serialization of IEnumerable parameters without loading the entire enumerable collection into memory. It is most useful when the service operation returns a large IEnumerable collection.
For the EnumerableStreamBehavior to perform as expected, the transfer mode of the transport specified by the binding being used must be set to Streamed
.
System.Object
System.Attribute
Noemax.WCFX.Behaviors.EnumerableStreamAttribute
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2