C# Class WebWeChat.Im.Action.WebWeChatAction

Inheritance: HttpAction.Action.AbstractHttpAction
Mostrar archivo Open project: huoshan12345/iQQ.Net

Public Methods

Method Description
ExecuteAsync ( CancellationToken token ) : Task
HandleExceptionAsync ( Exception ex ) : Task

Protected Methods

Method Description
NotifyActionEventAsync ( ActionEvent actionEvent ) : Task
NotifyErrorEventAsync ( WeChatErrorCode code ) : Task
NotifyErrorEventAsync ( WeChatErrorCode code, string msg ) : Task
NotifyErrorEventAsync ( WeChatException ex ) : Task
WebWeChatAction ( IWeChatContext context, ActionEventListener listener = null ) : System

Method Details

ExecuteAsync() public method

public ExecuteAsync ( CancellationToken token ) : Task
token System.Threading.CancellationToken
return Task

HandleExceptionAsync() public method

public HandleExceptionAsync ( Exception ex ) : Task
ex System.Exception
return Task

NotifyActionEventAsync() protected method

protected NotifyActionEventAsync ( ActionEvent actionEvent ) : Task
actionEvent ActionEvent
return Task

NotifyErrorEventAsync() protected method

protected NotifyErrorEventAsync ( WeChatErrorCode code ) : Task
code WeChatErrorCode
return Task

NotifyErrorEventAsync() protected method

protected NotifyErrorEventAsync ( WeChatErrorCode code, string msg ) : Task
code WeChatErrorCode
msg string
return Task

NotifyErrorEventAsync() protected method

protected NotifyErrorEventAsync ( WeChatException ex ) : Task
ex WebWeChat.Im.Core.WeChatException
return Task

WebWeChatAction() protected method

protected WebWeChatAction ( IWeChatContext context, ActionEventListener listener = null ) : System
context IWeChatContext
listener ActionEventListener
return System