WCF-Xtensions Class Reference for Mono
QualifiedNameMessageFilterAttribute Class
Members 






Associates the message to the local operation by evaluating the qualified name of the first element in the request body.
Object Model
QualifiedNameMessageFilterAttribute Class
Syntax
'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  
Remarks

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.

Inheritance Hierarchy

System.Object
   System.Attribute
      Noemax.WCFX.Behaviors.QualifiedNameMessageFilterAttribute

Requirements

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

See Also

Reference

QualifiedNameMessageFilterAttribute Members
Noemax.WCFX.Behaviors Namespace

Send Feedback