Table of Contents

Class DBusMessage

Namespace
Gio
Assembly
Gio-2.0.dll
public class DBusMessage : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
Inheritance
DBusMessage
Implements
Inherited Members

Constructors

DBusMessage(bool, params ConstructArgument[])

protected DBusMessage(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

DBusMessage(IntPtr, bool)

protected DBusMessage(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

LockedPropertyDefinition

public static readonly Property<bool, DBusMessage> LockedPropertyDefinition

Field Value

Property<bool, DBusMessage>

Properties

Locked

public bool Locked { get; }

Property Value

bool

Methods

BytesNeeded(Span<byte>)

[Version("2.26")]
public static long BytesNeeded(Span<byte> blob)

Parameters

blob Span<byte>

Returns

long

Copy()

[Version("2.26")]
public DBusMessage Copy()

Returns

DBusMessage

GetArg0()

[Version("2.26")]
public string? GetArg0()

Returns

string

GetArg0Path()

[Version("2.80")]
public string? GetArg0Path()

Returns

string

GetBody()

[Version("2.26")]
public Variant? GetBody()

Returns

Variant

GetByteOrder()

public DBusMessageByteOrder GetByteOrder()

Returns

DBusMessageByteOrder

GetDestination()

[Version("2.26")]
public string? GetDestination()

Returns

string

GetErrorName()

[Version("2.26")]
public string? GetErrorName()

Returns

string

GetFlags()

[Version("2.26")]
public DBusMessageFlags GetFlags()

Returns

DBusMessageFlags

GetGType()

public static Type GetGType()

Returns

Type

GetHeader(DBusMessageHeaderField)

[Version("2.26")]
public Variant? GetHeader(DBusMessageHeaderField headerField)

Parameters

headerField DBusMessageHeaderField

Returns

Variant

GetInterface()

[Version("2.26")]
public string? GetInterface()

Returns

string

GetLocked()

[Version("2.26")]
public bool GetLocked()

Returns

bool

GetMember()

[Version("2.26")]
public string? GetMember()

Returns

string

GetMessageType()

[Version("2.26")]
public DBusMessageType GetMessageType()

Returns

DBusMessageType

GetNumUnixFds()

[Version("2.26")]
public uint GetNumUnixFds()

Returns

uint

GetPath()

[Version("2.26")]
public string? GetPath()

Returns

string

GetReplySerial()

[Version("2.26")]
public uint GetReplySerial()

Returns

uint

GetSender()

[Version("2.26")]
public string? GetSender()

Returns

string

GetSerial()

[Version("2.26")]
public uint GetSerial()

Returns

uint

GetSignature()

[Version("2.26")]
public string GetSignature()

Returns

string

GetUnixFdList()

[Version("2.26")]
public UnixFDList? GetUnixFdList()

Returns

UnixFDList

Lock()

[Version("2.26")]
public void Lock()

New()

[Version("2.26")]
public static DBusMessage New()

Returns

DBusMessage

NewFromBlob(Span<byte>, DBusCapabilityFlags)

[Version("2.26")]
public static DBusMessage NewFromBlob(Span<byte> blob, DBusCapabilityFlags capabilities)

Parameters

blob Span<byte>
capabilities DBusCapabilityFlags

Returns

DBusMessage

NewMethodCall(string?, string, string?, string)

[Version("2.26")]
public static DBusMessage NewMethodCall(string? name, string path, string? @interface, string method)

Parameters

name string
path string
interface string
method string

Returns

DBusMessage

NewMethodErrorLiteral(string, string)

[Version("2.26")]
public DBusMessage NewMethodErrorLiteral(string errorName, string errorMessage)

Parameters

errorName string
errorMessage string

Returns

DBusMessage

NewMethodErrorValist(string, string, IntPtr)

[Version("2.26")]
public DBusMessage NewMethodErrorValist(string errorName, string errorMessageFormat, IntPtr varArgs)

Parameters

errorName string
errorMessageFormat string
varArgs IntPtr

Returns

DBusMessage

NewMethodReply()

[Version("2.26")]
public DBusMessage NewMethodReply()

Returns

DBusMessage

NewSignal(string, string, string)

[Version("2.26")]
public static DBusMessage NewSignal(string path, string @interface, string signal)

Parameters

path string
interface string
signal string

Returns

DBusMessage

Print(uint)

[Version("2.26")]
public string Print(uint indent)

Parameters

indent uint

Returns

string

SetBody(Variant)

[Version("2.26")]
public void SetBody(Variant body)

Parameters

body Variant

SetByteOrder(DBusMessageByteOrder)

public void SetByteOrder(DBusMessageByteOrder byteOrder)

Parameters

byteOrder DBusMessageByteOrder

SetDestination(string?)

[Version("2.26")]
public void SetDestination(string? value)

Parameters

value string

SetErrorName(string)

[Version("2.26")]
public void SetErrorName(string value)

Parameters

value string

SetFlags(DBusMessageFlags)

[Version("2.26")]
public void SetFlags(DBusMessageFlags flags)

Parameters

flags DBusMessageFlags

SetHeader(DBusMessageHeaderField, Variant?)

[Version("2.26")]
public void SetHeader(DBusMessageHeaderField headerField, Variant? value)

Parameters

headerField DBusMessageHeaderField
value Variant

SetInterface(string?)

[Version("2.26")]
public void SetInterface(string? value)

Parameters

value string

SetMember(string?)

[Version("2.26")]
public void SetMember(string? value)

Parameters

value string

SetMessageType(DBusMessageType)

[Version("2.26")]
public void SetMessageType(DBusMessageType type)

Parameters

type DBusMessageType

SetNumUnixFds(uint)

[Version("2.26")]
public void SetNumUnixFds(uint value)

Parameters

value uint

SetPath(string?)

[Version("2.26")]
public void SetPath(string? value)

Parameters

value string

SetReplySerial(uint)

[Version("2.26")]
public void SetReplySerial(uint value)

Parameters

value uint

SetSender(string?)

[Version("2.26")]
public void SetSender(string? value)

Parameters

value string

SetSerial(uint)

[Version("2.26")]
public void SetSerial(uint serial)

Parameters

serial uint

SetSignature(string?)

[Version("2.26")]
public void SetSignature(string? value)

Parameters

value string

SetUnixFdList(UnixFDList?)

[Version("2.26")]
public void SetUnixFdList(UnixFDList? fdList)

Parameters

fdList UnixFDList

ToGerror()

[Version("2.26")]
public bool ToGerror()

Returns

bool