WebService调用时参数传递问题
作者: , 出处:IT专家网, 责任编辑: 叶江,
2006-01-12 08:55
我有个WebMothod: public byte[] ReceiveByte2(string strQueueName,ref string strMsgLable) { ...... } 我在客户端调用时不知道参数怎么传?注意:strMsgLabel 是ref类型的 string str = "queuetest" System.Reflection.MethodInfo MI = type.GetMethod(StrValidMethod); byte[] bytRecv = (byte[])MI.Invoke(obj,new object[]{str,msgLabel});
我有个WebMothod:
public byte[] ReceiveByte2(string strQueueName,ref string strMsgLable)
{
......
}
我在客户端调用时不知道参数怎么传?注意:strMsgLabel 是ref类型的
string str = "queuetest"
System.Reflection.MethodInfo MI = type.GetMethod(StrValidMethod);
byte[] bytRecv = (byte[])MI.Invoke(obj,new object[]{str,msgLabel});
- 本文关键词:

