Compartilhar via


IVsTestLog.LogIdleTime Method

Logs idle time in seconds.

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

Syntax

'Declaration
Function LogIdleTime ( _
    pszIdle As String _
) As Integer
int LogIdleTime(
    string pszIdle
)
int LogIdleTime(
    [InAttribute] String^ pszIdle
)
abstract LogIdleTime : 
        pszIdle:string -> int
function LogIdleTime(
    pszIdle : String
) : int

Parameters

  • pszIdle
    Type: String

    [in] pszIdle format: ID<TAB>Idle Time in Seconds<TAB>Idle Start Time<TAB>String ID

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsTestLog::LogIdleTime(
   [in] LPSTR pszIdle
);

.NET Framework Security

See Also

Reference

IVsTestLog Interface

Microsoft.VisualStudio.Shell.Interop Namespace