コード例 #1
0
 static void ValidateMessageId(SendOptions options)
 {
     if (options.GetMessageId() != null)
     {
         throw new ArgumentException("Expected a SendOptions with no MessageId defined", nameof(options));
     }
 }