ActivityContext.TryParse 메서드

정의

오버로드

TryParse(String, String, ActivityContext)

W3C 추적 컨텍스트 헤더를 ActivityContext 개체로 구문 분석하려고 합니다.

TryParse(String, String, Boolean, ActivityContext)

W3C 추적 컨텍스트 헤더를 개체로 구문 분석하려고 ActivityContext 시도합니다.

TryParse(String, String, ActivityContext)

Source:
ActivityContext.cs
Source:
ActivityContext.cs
Source:
ActivityContext.cs

W3C 추적 컨텍스트 헤더를 ActivityContext 개체로 구문 분석하려고 합니다.

public:
 static bool TryParse(System::String ^ traceParent, System::String ^ traceState, [Runtime::InteropServices::Out] System::Diagnostics::ActivityContext % context);
public static bool TryParse (string traceParent, string? traceState, out System.Diagnostics.ActivityContext context);
public static bool TryParse (string? traceParent, string? traceState, out System.Diagnostics.ActivityContext context);
static member TryParse : string * string * ActivityContext -> bool
Public Shared Function TryParse (traceParent As String, traceState As String, ByRef context As ActivityContext) As Boolean

매개 변수

traceParent
String

W3C 추적 부모 헤더입니다.

traceState
String

W3C 추적 상태입니다.

context
ActivityContext

이 메서드가 true를 반환하면 구문 분석 작업에서 만들어진 ActivityContext 개체입니다.

반환

구문 분석에 성공하면 true이고, 그러지 않으면 false입니다.

적용 대상

TryParse(String, String, Boolean, ActivityContext)

Source:
ActivityContext.cs
Source:
ActivityContext.cs
Source:
ActivityContext.cs

W3C 추적 컨텍스트 헤더를 개체로 구문 분석하려고 ActivityContext 시도합니다.

public:
 static bool TryParse(System::String ^ traceParent, System::String ^ traceState, bool isRemote, [Runtime::InteropServices::Out] System::Diagnostics::ActivityContext % context);
public static bool TryParse (string? traceParent, string? traceState, bool isRemote, out System.Diagnostics.ActivityContext context);
static member TryParse : string * string * bool * ActivityContext -> bool
Public Shared Function TryParse (traceParent As String, traceState As String, isRemote As Boolean, ByRef context As ActivityContext) As Boolean

매개 변수

traceParent
String

W3C 추적 부모 헤더입니다.

traceState
String

W3C 추적 상태입니다.

isRemote
Boolean

true 원격 부모로부터 컨텍스트를 전파하려면 이고, 그렇지 않으면 입니다 false.

context
ActivityContext

이 메서드가 반환되면 ActivityContext 구문 분석 작업에서 만든 개체가 포함됩니다.

반환

작업에 성공하면 true이고, 그렇지 않으면 false입니다.

적용 대상