MessageAttachment Constructor (String, Byte[])
Initializes a new instance of the MessageAttachment class.
Namespace: Microsoft.ConfigurationManagement.Messaging.Framework
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
public MessageAttachment(
string name,
byte[] body
)
public:
MessageAttachment(
String^ name,
array<unsigned char>^ body
)
Public Sub New (
name As String,
body As Byte()
)
Parameters
name
Type: System.StringThe name of the attachment.
body
Type: System.Byte[]The attachment body.
See Also
MessageAttachment Overload
MessageAttachment Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace
Return to top