public override void OnSetPropertiesFailed(ISetPropertiesFailedCallInfo info) { Loger.LogTagFormat(Loger.TagPlugin, "OnSetPropertiesFailed===============BEGIN"); Loger.LogTagFormat(Loger.TagPlugin, info.ToStr()); base.OnSetPropertiesFailed(info); Loger.LogTagFormat(Loger.TagPlugin, "OnSetPropertiesFailed---------------END"); }
public static string ToStr(this ISetPropertiesFailedCallInfo info) { StringBuilder builder = new StringBuilder(); builder.AppendLine("ISetPropertiesFailedCallInfo =========== BEGIN"); builder.AppendLine(string.Format("ISetPropertiesFailedCallInfo.ActorNr={0}", info.ActorNr)); builder.AppendLine(((ITypedCallInfo <ISetPropertiesRequest>)info).ToStr <ISetPropertiesRequest>()); builder.AppendLine(((ICallInfo)info).ToStr()); builder.AppendLine("ISetPropertiesFailedCallInfo ----------- END"); return(builder.ToString()); }
/// <summary> /// Calls info.Continue(). Override to change. /// </summary> /// <param name="info">Data passed in the callback call.</param> public virtual void OnSetPropertiesFailed(ISetPropertiesFailedCallInfo info) { System.Diagnostics.Debug.Assert(this.PluginHost != null); info.Continue(); }