本文整理汇总了C#中System.Threading.SendOrPostCallback类的典型用法代码示例。如果您正苦于以下问题:C# System.Threading.SendOrPostCallback类的具体用法?C# System.Threading.SendOrPostCallback怎么用?C# System.Threading.SendOrPostCallback使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
System.Threading.SendOrPostCallback类属于命名空间,在下文中一共展示了System.Threading.SendOrPostCallback类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: DownloadFileAsync
/// <remarks/>
public void DownloadFileAsync(string serverFileName, object userState) {
if ((this.DownloadFileOperationCompleted == null)) {
this.DownloadFileOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDownloadFileOperationCompleted);
}
this.InvokeAsync("DownloadFile", new object[] {
serverFileName}, this.DownloadFileOperationCompleted, userState);
}
示例2: GetCanReceiveMessageAsync
/// <remarks/>
public void GetCanReceiveMessageAsync(GetCanReceiveMessageRequestType GetCanReceiveMessageRequest, object userState) {
if ((this.GetCanReceiveMessageOperationCompleted == null)) {
this.GetCanReceiveMessageOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetCanReceiveMessageOperationCompleted);
}
this.InvokeAsync("GetCanReceiveMessage", new object[] {
GetCanReceiveMessageRequest}, this.GetCanReceiveMessageOperationCompleted, userState);
}
示例3: getRegExpDetailsAsync
/// <remarks/>
public void getRegExpDetailsAsync(int regexpId, object userState) {
if ((this.getRegExpDetailsOperationCompleted == null)) {
this.getRegExpDetailsOperationCompleted = new System.Threading.SendOrPostCallback(this.OngetRegExpDetailsOperationCompleted);
}
this.InvokeAsync("getRegExpDetails", new object[] {
regexpId}, this.getRegExpDetailsOperationCompleted, userState);
}
示例4: GetSystemSettingsAsync
/// <remarks/>
public void GetSystemSettingsAsync(string settingsName, object userState) {
if ((this.GetSystemSettingsOperationCompleted == null)) {
this.GetSystemSettingsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSystemSettingsOperationCompleted);
}
this.InvokeAsync("GetSystemSettings", new object[] {
settingsName}, this.GetSystemSettingsOperationCompleted, userState);
}
示例5: GetServerVersionAsync
public void GetServerVersionAsync(object userState)
{
if ((this.GetServerVersionOperationCompleted == null)) {
this.GetServerVersionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetServerVersionCompleted);
}
this.InvokeAsync("GetServerVersion", new object[0], this.GetServerVersionOperationCompleted, userState);
}
示例6: GET_CONTACT_DETAILAsync
/// <remarks/>
public void GET_CONTACT_DETAILAsync(InputParameters InputParameters, object userState) {
if ((this.GET_CONTACT_DETAILOperationCompleted == null)) {
this.GET_CONTACT_DETAILOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGET_CONTACT_DETAILOperationCompleted);
}
this.InvokeAsync("GET_CONTACT_DETAIL", new object[] {
InputParameters}, this.GET_CONTACT_DETAILOperationCompleted, userState);
}
示例7: DataExchangeAsync
/// <remarks/>
public void DataExchangeAsync(string data, object userState) {
if ((this.DataExchangeOperationCompleted == null)) {
this.DataExchangeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDataExchangeOperationCompleted);
}
this.InvokeAsync("DataExchange", new object[] {
data}, this.DataExchangeOperationCompleted, userState);
}
示例8: RegisterByEmailAsync
public void RegisterByEmailAsync(string email, object userState) {
if ((this.RegisterByEmailOperationCompleted == null)) {
this.RegisterByEmailOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRegisterByEmailCompleted);
}
this.InvokeAsync("RegisterByEmail", new object[] {
email}, this.RegisterByEmailOperationCompleted, userState);
}
示例9: SearchAsync
public void SearchAsync(SearchRequest parameters, object userState) {
if ((this.SearchOperationCompleted == null)) {
this.SearchOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSearchCompleted);
}
this.InvokeAsync("Search", new object[] {
parameters}, this.SearchOperationCompleted, userState);
}
示例10: processAsync
/// <remarks/>
public void processAsync(Payload payload, object userState) {
if ((this.processOperationCompleted == null)) {
this.processOperationCompleted = new System.Threading.SendOrPostCallback(this.OnprocessOperationCompleted);
}
this.InvokeAsync("process", new object[] {
payload}, this.processOperationCompleted, userState);
}
示例11: DoTransactionAsync
/// <remarks/>
public void DoTransactionAsync(PosRequest PosRequest, object userState) {
if ((this.DoTransactionOperationCompleted == null)) {
this.DoTransactionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDoTransactionOperationCompleted);
}
this.InvokeAsync("DoTransaction", new object[] {
PosRequest}, this.DoTransactionOperationCompleted, userState);
}
示例12: MovilizerAsync
/// <remarks/>
public void MovilizerAsync(MovilizerRequest MovilizerRequest, object userState) {
if ((this.MovilizerOperationCompleted == null)) {
this.MovilizerOperationCompleted = new System.Threading.SendOrPostCallback(this.OnMovilizerOperationCompleted);
}
this.InvokeAsync("Movilizer", new object[] {
MovilizerRequest}, this.MovilizerOperationCompleted, userState);
}
示例13: notifyReferationAsync
/// <remarks/>
public void notifyReferationAsync(string URL, object userState) {
if ((this.notifyReferationOperationCompleted == null)) {
this.notifyReferationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnnotifyReferationOperationCompleted);
}
this.InvokeAsync("notifyReferation", new object[] {
URL}, this.notifyReferationOperationCompleted, userState);
}
示例14: getPackageIdAsync
/// <remarks/>
public void getPackageIdAsync(string shortcutName, object userState) {
if ((getPackageIdOperationCompleted == null)) {
getPackageIdOperationCompleted = new System.Threading.SendOrPostCallback(OngetPackageIdOperationCompleted);
}
InvokeAsync("getPackageId", new object[] {
shortcutName}, getPackageIdOperationCompleted, userState);
}
示例15: qqCheckOnlineAsync
/// <remarks/>
public void qqCheckOnlineAsync(string qqCode, object userState) {
if ((this.qqCheckOnlineOperationCompleted == null)) {
this.qqCheckOnlineOperationCompleted = new System.Threading.SendOrPostCallback(this.OnqqCheckOnlineOperationCompleted);
}
this.InvokeAsync("qqCheckOnline", new object[] {
qqCode}, this.qqCheckOnlineOperationCompleted, userState);
}