Interface IPathMethodHandler
Handles D-Bus method calls for a specific object path.
public interface IPathMethodHandler
Properties
HandlesChildPaths
Returns whether the handler also handles child paths.
bool HandlesChildPaths { get; }
Property Value
Path
Object path handled by this method handler.
string Path { get; }
Property Value
Methods
HandleMethodAsync(MethodContext)
Handles a method call.
ValueTask HandleMethodAsync(MethodContext context)
Parameters
contextMethodContextThe method context containing the request information and methods to reply.
Returns
Remarks
No additional messages are read from the connection until this method completes. To handle the request asynchronously after this method completes, set DisposesAsynchronously. In this case, you are responsible for disposing the context once handling completes.