Reputation: 46470
I have silverlight business application. I added an invoke method to my AuthenticationService class that returns bool.
How do I call this and get the result from the client?
Upvotes: 2
Views: 1028
Reputation: 46470
http://msdn.microsoft.com/en-us/library/ee707370(v=vs.91).aspx#Y1804
var authCtx = new AuthenticationContext();
authCtx.HasAccess1(io => {
HasAccess1 = io.Value;
}, null);
Upvotes: 1