VsSearchTask.ErrorCode Property

Gets or sets the error code describing the search result if the search task has completed with errors. If the task completes without errors, this property is set to zero (0).

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Public Property ErrorCode As Integer
public int ErrorCode { get; protected set; }
public:
virtual property int ErrorCode {
    int get () sealed;
    protected: void set (int value) sealed;
}
abstract ErrorCode : int with get, set 
override ErrorCode : int with get, set
final function get ErrorCode () : int 
protected final function set ErrorCode (value : int)

Property Value

Type: System.Int32

Implements

IVsSearchTask.ErrorCode

.NET Framework Security

See Also

Reference

VsSearchTask Class

Microsoft.VisualStudio.Shell Namespace