共用方式為


TestStepEvent.SessionId Property

Gets the test session ID, which identifies the test session.

Namespace:  Microsoft.VisualStudio.IntelliTrace
Assembly:  Microsoft.VisualStudio.IntelliTrace (in Microsoft.VisualStudio.IntelliTrace.dll)

Syntax

'宣告
Public Property SessionId As Guid
    Get
    Protected Set
public Guid SessionId { get; protected set; }
public:
property Guid SessionId {
    Guid get ();
    protected: void set (Guid value);
}
member SessionId : Guid with get, set
function get SessionId () : Guid
protected function set SessionId (value : Guid)

Property Value

Type: System.Guid

.NET Framework Security

See Also

Reference

TestStepEvent Class

Microsoft.VisualStudio.IntelliTrace Namespace