考虑以下ServiceContract
-Interface:
[ServiceContract]
public interface ITest
{
[OperationContract]
void MyMethod(int a, int b);
}
现在我们将其更改为以下内容(有效地将参数更改int a
为 a int? a
):
[ServiceContract]
public interface ITest
{
[OperationContract]
void MyMethod(int? a, int b);
}
使用此 WCF 服务的客户端是否需要进行其他更改才能使用新的服务定义?