Share via


ModelBus.ErrorCallback Property

Delegate supplied by the host. Used to log errors.

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

Syntax

'Declaration
Public Property ErrorCallback As Action(Of ErrorCategory, String)
public Action<ErrorCategory, string> ErrorCallback { get; set; }
public:
property Action<ErrorCategory, String^>^ ErrorCallback {
    Action<ErrorCategory, String^>^ get ();
    void set (Action<ErrorCategory, String^>^ value);
}
member ErrorCallback : Action<ErrorCategory, string> with get, set
function get ErrorCallback () : Action<ErrorCategory, String>
function set ErrorCallback (value : Action<ErrorCategory, String>)

Property Value

Type: Action<ErrorCategory, String>

.NET Framework Security

See Also

Reference

ModelBus Class

Microsoft.VisualStudio.Modeling.Integration Namespace