Partager via


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

'Déclaration
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