Noemax.WCFX.Behaviors Namespace : QualifiedNameMessageFilterAttribute Class |
'Declaration Public Class QualifiedNameMessageFilterAttribute Inherits System.Attribute Implements IOperationMessageFilter
'Usage Dim instance As QualifiedNameMessageFilterAttribute
public class QualifiedNameMessageFilterAttribute : System.Attribute, IOperationMessageFilter
public class QualifiedNameMessageFilterAttribute = class(System.Attribute, IOperationMessageFilter)
public class QualifiedNameMessageFilterAttribute extends System.Attribute implements IOperationMessageFilter
public __gc class QualifiedNameMessageFilterAttribute : public System.Attribute, IOperationMessageFilter
public ref class QualifiedNameMessageFilterAttribute : public System.Attribute, IOperationMessageFilter
This class is used by QualifiedNameOperationSelectorAttribute and CustomOperationSelectorAttribute to dispatch messages based on the qualified name of the first element in the request body. It implements the IOperationMessageFilter interface in order to attach itself into the service endpoint as an operation behavior. By analyzing the service contracts it automatically decides what qualified name the first element of message body is expected for the local operation. If the incoming message matches the qualified name represented by this attribute, it will be dispatched to the operation it represents.
During evaluation of the message body, the message does not get buffered. This behavior is compatible with the streaming transfer mode.
There is also ability to override the automatically obtained qualified name by setting the NamespaceURI and LocalName properties. Unless you need to override it, you don't need to assign this attribute to the operation of the contract marked with QualifiedNameOperationSelectorAttribute as this will be done automatically.
This class is not available in Silverlight 4, Silverlight 3, .NET Compact Framework 3.5.
System.Object
System.Attribute
Noemax.WCFX.Behaviors.QualifiedNameMessageFilterAttribute
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