public CreateResponse ( IServiceResponse response ) : object | ||
response | IServiceResponse | |
Результат | object |
public object CreateResponse(IServiceResponse response)
{
RegisterServerResponse body = response as RegisterServerResponse;
if (body == null)
{
body = new RegisterServerResponse();
body.ResponseHeader = ((ServiceFault)response).ResponseHeader;
}
return new RegisterServerResponseMessage(body);
}
#endregion