Compartilhar via


TraceRecord.RequestId Property

Gets the correlation ID from the Request.

Namespace:  System.Web.Http.Tracing
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Property RequestId As Guid 
    Get 
    Private Set
'Usage
Dim instance As TraceRecord 
Dim value As Guid 

value = instance.RequestId
public Guid RequestId { get; private set; }
public:
property Guid RequestId {
    Guid get ();
    private: void set (Guid value);
}
member RequestId : Guid with get, private set
function get RequestId () : Guid 
private function set RequestId (value : Guid)

Property Value

Type: System.Guid
The correlation ID from the Request.

See Also

Reference

TraceRecord Class

System.Web.Http.Tracing Namespace