Пример #1
0
 public PubnubClientError(int statusCode, PubnubErrorSeverity errorSeverity, string message, PubnubMessageSource source, PubnubWebRequest pubnubWebRequest, PubnubWebResponse pubnubWebResponse, string description, string channel, string channelGroup)
 {
     _dateTimeGMT             = DateTime.Now.ToUniversalTime();
     _statusCode              = statusCode;
     _isDotNetException       = false;
     _message                 = message;
     _errorSeverity           = errorSeverity;
     _messageSource           = source;
     _channel                 = channel;
     _channel                 = channelGroup;
     _detailedDotNetException = null;
     _pubnubWebRequest        = pubnubWebRequest;
     _pubnubWebResponse       = pubnubWebResponse;
     _description             = description;
 }
Пример #2
0
		public PubnubClientError(int statusCode, PubnubErrorSeverity errorSeverity, string message, PubnubMessageSource source, PubnubWebRequest pubnubWebRequest, PubnubWebResponse pubnubWebResponse, string description, string channel)
		{
			_dateTimeGMT = DateTime.Now.ToUniversalTime();
			_statusCode = statusCode;
			_isDotNetException = false;
			_message = message;
			_errorSeverity = errorSeverity;
			_messageSource = source;
			_channel = channel;
			_detailedDotNetException = null;
			_pubnubWebRequest = pubnubWebRequest;
			_pubnubWebResponse = pubnubWebResponse;
			_description = description;
		}