开发者

Override the RaiseCallbackEvent(string eventArgument) method from ICallbackEventHandler interface. Is it possible?

I need to implement the ICallbackEventHandler interface in C#, but I need slightly different logic... The thing is, that the RaiseCallbackEvent method accepts string as input argument, but I need it to be say, XmlDocument, or some other not-simple data type passed 开发者_高级运维from the javascipt code.

Is it possible, and what is the best way to accomplish this?

Thanks.


No, the signature of your method must match the interface exactly.
But you can send in XmlDocument.OuterXml as the string.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜