StreamsMessageAttribute Class

Definition

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.

Applies to