Asserts the data-form is of the specified type.
Namespace: S22.Xmpp.Extensions.DataformsAssembly: S22.Xmpp (in S22.Xmpp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
protected void AssertType( DataFormType expected ) |
Parameters
- expected
- Type: S22.Xmpp.Extensions.Dataforms..::..DataFormType
The type to assert.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentException | The data-form is not of the expected type. |