[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Attribute that notes what senders can send the message. Not all senders can send all messages. If this attribute is empty, or not defined, it is equivalent to all senders. This is only valid as a class decoration.

You can define multiple SupportedSenderAttributes for a class.

Namespace:  Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging(in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

                 
  C#     Visual Basic     Visual C++  
[
SerializableAttribute]
[
AttributeUsageAttribute(
AttributeTargets.Class, AllowMultiple = 
true)]
public 
sealed 
class 
SupportedSenderAttribute : 
Attribute
<
SerializableAttribute> _
<
AttributeUsageAttribute(
AttributeTargets.Class, AllowMultiple := 
True)> _
Public 
NotInheritable 
Class 
SupportedSenderAttribute _
	
Inherits 
Attribute
[
SerializableAttribute]
[
AttributeUsageAttribute(
AttributeTargets::Class, AllowMultiple = 
true)]
public 
ref class 
SupportedSenderAttribute 
sealed : 
public 
Attribute

Members

                             
  All Members     Constructors      Properties      Methods      Explicit Interface Implementations   
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

  Member Description
SupportedSenderAttribute(String)
Initializes a new instance of the SupportedSenderAttributeclass. Constructor that takes in a list of sender names and stores them internally for comparison
Equals(Object) (Inherited from Attribute.)
Finalize () () () () (Inherited from Object.)
GetHashCode () () () () (Inherited from Attribute.)
_Attribute . . :: . . GetIDsOfNames(Guid % , IntPtr, UInt32, UInt32, IntPtr) (Inherited from Attribute.)
GetType () () () () (Inherited from Object.)
_Attribute . . :: . . GetTypeInfo(UInt32, UInt32, IntPtr) (Inherited from Attribute.)
_Attribute . . :: . . GetTypeInfoCount(UInt32 % ) (Inherited from Attribute.)
_Attribute . . :: . . Invoke(UInt32, Guid % , UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) (Inherited from Attribute.)
IsDefaultAttribute () () () () (Inherited from Attribute.)
Match(Object) (Inherited from Attribute.)
MemberwiseClone () () () () (Inherited from Object.)
SenderName
Name of the sender initialized in this object
ToString () () () () (Inherited from Object.)
TypeId (Inherited from Attribute.)

Inheritance Hierarchy

System . . :: . . Object
   System . . :: . . Attribute
     Microsoft.ConfigurationManagement.Messaging.Framework . . :: . . SupportedSenderAttribute

See Also