Home All Groups Group Topic Archive Search About

ASP.NET 2.0 ICallbackEventHandler

Author
28 Dec 2005 3:46 PM
Lorenzo Soncini
I have a problem. If I look MSDN the interface who is in the message object
have two virtual method
GetCallbackResult
RaiseCallbackEvent

The tocumentation say me:
void RaiseCallbackEvent (
string eventArgument
)
but when I see the MSDN sample the method RaiseCallbackEvent was implemented
:

public String RaiseCallbackEvent(String eventArgument As String)
{
    return eventArgument + " new value";
}

But when I compile the class with my RaiseCallbackEvent i get ana error
because the method is not returning  VOID
Any idea? Sorry for my bad english
Lorenzo Soncini

Author
28 Dec 2005 5:01 PM
Bruce Barker
the behavior was changed between the beta and the rtm. read the rtm
documentation.

-- bruce (sqlwork.com)



Show quoteHide quote
"Lorenzo Soncini" <lorenzo.sonc***@technoservice.com> wrote in message
news:ub2BXX8CGHA.312@TK2MSFTNGP09.phx.gbl...
>I have a problem. If I look MSDN the interface who is in the message object
>have two virtual method
> GetCallbackResult
> RaiseCallbackEvent
>
> The tocumentation say me:
> void RaiseCallbackEvent (
> string eventArgument
> )
> but when I see the MSDN sample the method RaiseCallbackEvent was
> implemented :
>
> public String RaiseCallbackEvent(String eventArgument As String)
> {
>    return eventArgument + " new value";
> }
>
> But when I compile the class with my RaiseCallbackEvent i get ana error
> because the method is not returning  VOID
> Any idea? Sorry for my bad english
> Lorenzo Soncini
>
Are all your drivers up to date? click for free checkup

Author
28 Dec 2005 5:31 PM
Lorenzo Soncini
I reinstall my MSDN :-)
Online the documentation is ok..and I have solved the problem

Thanks
Lorenzo
Show quoteHide quote
"Lorenzo Soncini" <lorenzo.sonc***@technoservice.com> ha scritto nel
messaggio news:ub2BXX8CGHA.312@TK2MSFTNGP09.phx.gbl...
>I have a problem. If I look MSDN the interface who is in the message object
>have two virtual method
> GetCallbackResult
> RaiseCallbackEvent
>
> The tocumentation say me:
> void RaiseCallbackEvent (
> string eventArgument
> )
> but when I see the MSDN sample the method RaiseCallbackEvent was
> implemented :
>
> public String RaiseCallbackEvent(String eventArgument As String)
> {
>    return eventArgument + " new value";
> }
>
> But when I compile the class with my RaiseCallbackEvent i get ana error
> because the method is not returning  VOID
> Any idea? Sorry for my bad english
> Lorenzo Soncini
>

Bookmark and Share