WebService调用时参数传递问题。谢谢各位指教^_^
我有个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}); <---How TO DO?