Share via


VpnChannel.LogDiagnosticMessage(String) Method

Definition

Writes a diagnostic message to the system log.

public:
 virtual void LogDiagnosticMessage(Platform::String ^ message) = LogDiagnosticMessage;
void LogDiagnosticMessage(winrt::hstring const& message);
public void LogDiagnosticMessage(string message);
function logDiagnosticMessage(message)
Public Sub LogDiagnosticMessage (message As String)

Parameters

message
String

Platform::String

winrt::hstring

The text of the diagnostic message.

Windows requirements

App capabilities
networkingVpnProvider

Remarks

The messages logged with LogDiagnosticMessage can be viewed using Event Viewer, under Application and Services Logs\Microsoft\Windows\Vpn Plugin Platform.

Applies to