Class InvokeDialogueException
一个非常特殊的Exception
在执行OnEvent函数时, 若此SDKcatch到了这个Exception, 则将此Exception内的Dialogue置入DialoguePool。 这是使用Dialogue的较为方便的方式之一。
当然, 直接调用Join((MessageType, Int64), Dialogue)置入也是可以的
Inheritance
System.Object
InvokeDialogueException
Namespace: cqhttp.Cyan.Utils
Assembly: cqhttp.Cyan.dll
Syntax
public class InvokeDialogueException : Exception
Constructors
| Improve this Doc View SourceInvokeDialogueException(Dialogue)
Declaration
public InvokeDialogueException(Dialogue dialogue)
Parameters
Type | Name | Description |
---|---|---|
Dialogue | dialogue | 向DialoguePool中加入的对话 |
Properties
| Improve this Doc View Sourcecontent
Declaration
public Dialogue content { get; }
Property Value
Type | Description |
---|---|
Dialogue |