Beispiel #1
0
		public static byte[] SerializeResponse(ResponseMessage response)
		{
			return Serialization.Serialize(response);
		}
		public override byte[] SerializeResponse(ResponseMessage response)
		{
			return Builder.SerializeResponse(response);
		}
		public override object DeserializeResponseValue(ResponseMessage response, Type retType)
		{
			return Serialization.DeserializeResponseValue(response, retType);
		}
		private static void ThrowWithExceptionInfoData(ResponseMessage response)
		{
			var msg = "Remote server or invoker threw " + response.ExceptionInfo.Typename + " with message " +
			          response.ExceptionInfo.Message;
			throw new Exception(msg);
		}