StreamsMessageAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This attribute does not do anything. The Code Generator and the runtime attribute-based type mapping ignore this attribute.
This attribute indicates that a message handler streams messages during its execution.
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true)]
[System.Obsolete("This attribute does not do anything. The Code Generator and the runtime attribute-based type mapping ignore this attribute.")]
public sealed class StreamsMessageAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true)>]
[<System.Obsolete("This attribute does not do anything. The Code Generator and the runtime attribute-based type mapping ignore this attribute.")>]
type StreamsMessageAttribute = class
inherit Attribute
Public NotInheritable Class StreamsMessageAttribute
Inherits Attribute
- Inheritance
-
StreamsMessageAttribute
- Attributes
Constructors
| Name | Description |
|---|---|
| StreamsMessageAttribute(Type) |
Indicates that the message handler yields streaming messages during the course of execution. |
Properties
| Name | Description |
|---|---|
| Type |
The type of the message that the handler yields. |