Exemple #1
0
 public MessageAttribute(string name, byte[] value)
 {
     Name  = name;
     Value = new MessageAttributeValue(MessageAttributeDataType.Binary, Convert.ToBase64String(value));
 }
Exemple #2
0
 public MessageAttribute(string name, string value)
 {
     Name  = name;
     Value = new MessageAttributeValue(MessageAttributeDataType.String, value);
 }
Exemple #3
0
 public MessageAttribute(string name, long value)
 {
     Name  = name;
     Value = new MessageAttributeValue(MessageAttributeDataType.Number, value.ToString(CultureInfo.InvariantCulture));
 }