Beispiel #1
0
 /// <summary>
 /// Shutdown of the device and optionally show a user notification.
 /// </summary>
 /// <param name="client">
 /// The diagnostics_relay client
 /// </param>
 /// <param name="flags">
 /// A binary flag combination of
 /// DIAGNOSTICS_RELAY_ACTION_FLAG_WAIT_FOR_DISCONNECT to wait until
 /// diagnostics_relay_client_free() disconnects before execution and
 /// DIAGNOSTICS_RELAY_ACTION_FLAG_DISPLAY_FAIL to show a "FAIL" dialog
 /// or DIAGNOSTICS_RELAY_ACTION_FLAG_DISPLAY_PASS to show an "OK" dialog
 /// </param>
 /// <returns>
 /// DIAGNOSTICS_RELAY_E_SUCCESS on success,
 /// DIAGNOSTICS_RELAY_E_INVALID_ARG when client is NULL,
 /// DIAGNOSTICS_RELAY_E_PLIST_ERROR if the device did not acknowledge the
 /// request
 /// </returns>
 public virtual DiagnosticsRelayError diagnostics_relay_shutdown(DiagnosticsRelayClientHandle client, DiagnosticsRelayAction flags)
 {
     return(DiagnosticsRelayNativeMethods.diagnostics_relay_shutdown(client, flags));
 }