Initializes a new instance of the PrivacyRule class.

Namespace: S22.Xmpp.Im
Assembly: S22.Xmpp (in S22.Xmpp.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public PrivacyRule(
	bool allow,
	uint order,
	PrivacyGranularity granularity = 
)

Parameters

allow
Type: System..::..Boolean
True to allow entities affected by this rule; Otherwise false.
order
Type: System..::..UInt32
The order of the privacy rule.
granularity (Optional)
Type: S22.Xmpp.Im..::..PrivacyGranularity
Specifies which kinds of stanzas should be blocked.

See Also