Re: ByRef/Ref passing in Web Services
- From: Brock Allen <ballen@xxxxxxxxxxxxxxxxx>
- Date: Tue, 03 May 2005 08:37:44 -0700
Now back to the question - How do I make ref type work with non scalar data types? (Not that I'd ever want to, but for academic reasons .. How?)
This works for me:
public class Foo
{
public int xoxo;
}[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1, EmitConformanceClaims = true)]
public class WebService : System.Web.Services.WebService
{
[WebMethod]
public void HelloWorld(ref Foo param)
{
}
}
-Brock DevelopMentor http://staff.develop.com/ballen
.
- Follow-Ups:
- Re: ByRef/Ref passing in Web Services
- From: Sahil Malik [MVP]
- Re: ByRef/Ref passing in Web Services
- References:
- Re: ByRef/Ref passing in Web Services
- From: Sahil Malik [MVP]
- Re: ByRef/Ref passing in Web Services
- Prev by Date: Re: Target a different .NET Framework version
- Next by Date: Re: How: Affecting TcpClient Connect( ) timeout ?
- Previous by thread: Re: ByRef/Ref passing in Web Services
- Next by thread: Re: ByRef/Ref passing in Web Services
- Index(es):
Relevant Pages
|