次の方法で共有


ModelBus.ErrorCallback Property

Delegate supplied by the host. Used to log errors.

Namespace:  Microsoft.VisualStudio.Modeling.Integration
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0.dll)

Syntax

'宣言
Public Property ErrorCallback As Action
    Get
    Set
public Action ErrorCallback { get; set; }
public:
property Action^ ErrorCallback {
    Action^ get ();
    void set (Action^ value);
}
member ErrorCallback : Action with get, set
function get ErrorCallback () : Action
function set ErrorCallback (value : Action)

Property Value

Type: System.Action<T1, T2>

.NET Framework Security

See Also

Reference

ModelBus Class

Microsoft.VisualStudio.Modeling.Integration Namespace