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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.