SetWebEventCode() private method

private SetWebEventCode ( int webEventCode ) : void
webEventCode int
return void
Example #1
0
        internal static HttpException NewWithCode(int httpCode, string message, Exception innerException, int webEventCode)
        {
            var ret = new HttpException(httpCode, message, innerException);

            ret.SetWebEventCode(webEventCode);

            return(ret);
        }
Example #2
0
        internal static HttpException NewWithCode(int httpCode, string message, string resourceName, int webEventCode)
        {
            var ret = new HttpException(httpCode, message, resourceName);

            ret.SetWebEventCode(webEventCode);

            return(ret);
        }
Example #3
0
        internal static HttpException NewWithCode(string message, int webEventCode)
        {
            var ret = new HttpException(message);

            ret.SetWebEventCode(webEventCode);

            return(ret);
        }
Example #4
0
		internal static HttpException NewWithCode (int httpCode, string message, Exception innerException, int webEventCode)
		{
			var ret = new HttpException (httpCode, message, innerException);
			ret.SetWebEventCode (webEventCode);

			return ret;
		}
Example #5
0
		internal static HttpException NewWithCode (int httpCode, string message, string resourceName, int webEventCode)
		{
			var ret = new HttpException (httpCode, message, resourceName);
			ret.SetWebEventCode (webEventCode);

			return ret;
		}
Example #6
0
		internal static HttpException NewWithCode (string message, int webEventCode)
		{
			var ret = new HttpException (message);
			ret.SetWebEventCode (webEventCode);

			return ret;
		}