Yaaf.Xmpp.Runtime


StanzaException

Defined in Yaaf.Xmpp.Runtime.dll.
Used when we want to return a stanza error

Record Fields

Record FieldDescription
errorStanza
Signature: StanzaError

Constructors

ConstructorDescription
new(info, context)
Signature: (info:SerializationInfo * context:StreamingContext) -> StanzaException
new(msg, inner)
Signature: (msg:StanzaError * inner:Exception) -> StanzaException
new(msg, txt, inner)
Signature: (msg:StanzaError * txt:string * inner:exn) -> StanzaException
new(msg, txt)
Signature: (msg:StanzaError * txt:string) -> StanzaException
new(msg)
Signature: msg:StanzaError -> StanzaException

Instance members

Instance memberDescription
ErrorStanza
Signature: StanzaError

Static members

Static memberDescription
Create(...)
Signature: (errorType:StanzaErrorType * errorCondition:StanzaErrorConditon * rawElem:IStanza) -> StanzaException
Create(...)
Signature: (errorType:StanzaErrorType * errorCondition:StanzaErrorConditon * header:StanzaHeader) -> StanzaException
Create(error)
Signature: error:StanzaError -> StanzaException
CreateBadRequest(header)
Signature: header:StanzaHeader -> Stanza<StanzaErrorData>
Raise(...)
Signature: (errorType:StanzaErrorType * errorCondition:StanzaErrorConditon * rawElem:IStanza) -> '?6661
Type parameters: '?6661
Raise(errorType, errorCondition, header)
Signature: (errorType:StanzaErrorType * errorCondition:StanzaErrorConditon * header:StanzaHeader) -> '?6659
Type parameters: '?6659
Raise(error)
Signature: error:StanzaError -> '?6657
Type parameters: '?6657
Fork me on GitHub