Class InterceptsAttribute
This attribute declares which Messages are intercepted by the InterceptorAgent.
Namespace: Agents.Net
Assembly: Agents.Net.dll
Syntax
public sealed class InterceptsAttribute : Attribute
Remarks
This attribute is only valid for InterceptorAgent classes.
Constructors
| Improve this Doc View SourceInterceptsAttribute(Type)
Initializes a new instance of the InterceptsAttribute class.
Declaration
public InterceptsAttribute(Type messageType)
Parameters
Type | Name | Description |
---|---|---|
Type | messageType | The type the the Message that is intercepted by the InterceptorAgent. |
Properties
| Improve this Doc View SourceMessageType
Gets the type of Message that is intercepted by the InterceptorAgent.
Declaration
public Type MessageType { get; }
Property Value
Type | Description |
---|---|
Type |