nerdexam
Microsoft

70-489 · Question #56

You need to implement logging. Which items should you implement? (Each correct answer presents a complete solution. Choose all that apply.)

The correct answer is A. SPDiagnosticsServiceBase.WriteEvent B. Microsoft.SharePoint.Diagnostics.ULSLogEntry. EventLog.WriteEvent method writes a localized event entry to the event log. PortalLog and its members are reserved for internal use and are not intended to be used in your us/library/system.diagnostics.eventlog.writeevent%28v=vs.110%29.aspx You design an application framework…

Design and develop advanced Microsoft SharePoint 2013 solutions

Question

You need to implement logging. Which items should you implement? (Each correct answer presents a complete solution. Choose all that apply.)

Options

  • ASPDiagnosticsServiceBase.WriteEvent
  • BMicrosoft.SharePoint.Diagnostics.ULSLogEntry
  • CSPUser.Sid
  • DPortalLog.LogString
  • ESPAlertTemplate
  • FSPSecurity.RunWithElevatedPrivileges

How the community answered

(54 responses)
  • A
    72% (39)
  • C
    2% (1)
  • D
    4% (2)
  • E
    7% (4)
  • F
    15% (8)

Explanation

EventLog.WriteEvent method writes a localized event entry to the event log. PortalLog and its members are reserved for internal use and are not intended to be used in your us/library/system.diagnostics.eventlog.writeevent%28v=vs.110%29.aspx You design an application framework. The framework is used by other developers on the team. The framework must include entry points that are used to log errors and exceptions You need the entry points.

Topics

#ULS logging#SPDiagnosticsServiceBase#custom logging#diagnostics

Community Discussion

No community discussion yet for this question.

Full 70-489 Practice