共用方式為


TestMessageReceiverDelegate 委派

命名空間:  Microsoft.VisualStudio.TestTools.Execution
組件:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (在 Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll 中)

語法

'宣告
Public Delegate Sub TestMessageReceiverDelegate ( _
    message As TestMessage _
)
public delegate void TestMessageReceiverDelegate(
    TestMessage message
)
public delegate void TestMessageReceiverDelegate(
    TestMessage^ message
)
type TestMessageReceiverDelegate = 
    delegate of 
        message:TestMessage -> unit
JScript 不支援委派。

參數

請參閱

參考

Microsoft.VisualStudio.TestTools.Execution 命名空間