ServiceBehavior attribute!

I find the next code for using session:

[ServiceBehavior(InstanceMode=InstanceMode.PrivateSession)]

But I can't do this with Windows SDK February CTP, I find the next code:

[ServiceBehavior(InstanceContextMode=InstanceContextMode.PerSession)]

Is the same .

Saludos,




Answer this question

ServiceBehavior attribute!

  • Sam88Jeep

    yeah,that is correct

    InstanceContextMode.PerSession creates one instanceobject per session(in FEB CTP)

    -Thank you

    Madhu



  • Tom Mulcahy - MSFT

    Hi!

    But the next code:

    [ServiceBehavior(InstanceMode=InstanceMode.PrivateSession)]

    exist , in the new CTP of WinFX , or it was remove

    Saludos,



  • ServiceBehavior attribute!