public object CreateResponse(IServiceResponse response)
{
CloseSecureChannelResponse body = response as CloseSecureChannelResponse;
if (body == null)
{
body = new CloseSecureChannelResponse();
body.ResponseHeader = ((ServiceFault)response).ResponseHeader;
}
return new CloseSecureChannelResponseMessage(body);
}
#endregion