DataCollectionContext.SessionId Property
Gets the SessionId for the session under which the data collection occurs. Will not be nulla null reference (Nothing in Visual Basic).
Namespace: Microsoft.VisualStudio.TestTools.Execution
Assembly: Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
Syntax
'Declaration
Public ReadOnly Property SessionId As SessionId
public SessionId SessionId { get; }
public:
property SessionId^ SessionId {
SessionId^ get ();
}
member SessionId : SessionId with get
function get SessionId () : SessionId
Property Value
Type: Microsoft.VisualStudio.TestTools.Common.SessionId
A SessionId object.
Remarks
This value will not be nulla null reference (Nothing in Visual Basic).
.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.