MsmqMessage<T>.Extension Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets an array of Byte that contains any additional, application-defined information that is associated with this message.
public:
property cli::array <System::Byte> ^ Extension { cli::array <System::Byte> ^ get(); void set(cli::array <System::Byte> ^ value); };
public byte[] Extension { get; set; }
member this.Extension : byte[] with get, set
Public Property Extension As Byte()
Property Value
Byte[]
An array of Byte that contains any additional, application-defined information that is associated with this message.
Examples
byte[] buffer = {0x10, 0x11, 0x12, 0x14};
message.Extension = buffer;
Dim buffer() As Byte = {&H10, &H11, &H12, &H14}
message.Extension = buffer
Remarks
Use this property to store additional information, such as a large binary object.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET