IVsTestLog.LogIdleTime Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
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: System.String
[in] pszIdle format: ID<TAB>Idle Time in Seconds<TAB>Idle Start Time<TAB>String ID
Return Value
Type: System.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
- 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.