Debug.DumpService(String, FileDescriptor, String[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get a debugging dump of a system service by name.
[Android.Runtime.Register("dumpService", "(Ljava/lang/String;Ljava/io/FileDescriptor;[Ljava/lang/String;)Z", "")]
public static bool DumpService (string? name, Java.IO.FileDescriptor? fd, string[]? args);
[<Android.Runtime.Register("dumpService", "(Ljava/lang/String;Ljava/io/FileDescriptor;[Ljava/lang/String;)Z", "")>]
static member DumpService : string * Java.IO.FileDescriptor * string[] -> bool
Parameters
- name
- String
of the service to dump
to write dump output to (usually an output log file)
- args
- String[]
to pass to the service's dump method, may be null
Returns
true if the service was dumped successfully, false if the service could not be found or had an error while dumping
- Attributes
Remarks
Get a debugging dump of a system service by name.
Most services require the caller to hold android.permission.DUMP.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.