Udostępnij za pośrednictwem


ErrorHandler.CallWithCOMConvention Method

Include Protected Members
Include Inherited Members

Catches all but critical exceptions and returns the corresponding HRESULT.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member CallWithCOMConvention(Action) Catches all but critical exceptions and returns the corresponding HRESULT.
Public methodStatic member CallWithCOMConvention(Func<TResult>) Catches all but critical exceptions and returns the corresponding HRESULT.

Top

See Also

Reference

ErrorHandler Class

Microsoft.VisualStudio Namespace