• EnglishEspañol日本語한국어Português
  • 로그인지금 시작하기

사용자의 편의를 위해 제공되는 기계 번역입니다.

In the event of any inconsistency between the English version and the translated version, the English versionwill take priority. Please visit this page for more information.

문제 신고

StartAgent(.NET 에이전트 API)

통사론

NewRelic.Api.Agent.NewRelic.StartAgent()

에이전트가 아직 시작되지 않은 경우 시작합니다. 일반적으로 불필요합니다.

요구 사항

에이전트 버전 5.0.136.0 이상.

모든 앱 유형과 호환됩니다.

설명

에이전트가 아직 시작되지 않은 경우 에이전트를 시작합니다. 이 호출은 일반적으로 필요하지 않습니다. autoStart 을 비활성화하지 않는 한 에이전트가 계측된 메서드에 도달할 때 자동으로 시작되기 때문입니다. SetApplicationName() 을 사용하는 경우 에이전트를 시작 하기 전에 앱 이름을 설정해야 합니다.

이 메서드는 syncStartup 또는 sendDataOnExit 을 활성화하지 않는 한 에이전트를 비동기식으로 시작합니다(즉, 앱 시작을 차단하지 않음).

NewRelic.Api.Agent.NewRelic.StartAgent();
Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.