IMessageReceiver.Message(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當實作於類別時,會擷取指定的輸出。
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。
public:
void Message(System::String ^ strValue);
public void Message(string strValue);
abstract member Message : string -> unit
Public Sub Message (strValue As String)
參數
- strValue
- String
輸出要擷取。
備註
此方法的實作可以將輸出傳送到你想要的任何位置。 例如,它可以將輸出傳送到檔案、儲存在資料結構中,或列印到主控台。