亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? loggingevent.cs

?? 詳細講述了數據庫編程
?? CS
?? 第 1 頁 / 共 4 頁
字號:
		/// <para>
		/// Use the <see cref="GetLoggingEventData(FixFlags)"/> method to obtain an 
		/// instance of the <see cref="LoggingEventData"/> class.
		/// </para>
		/// <para>
		/// This constructor sets this objects <see cref="Fix"/> flags to <see cref="FixFlags.All"/>,
		/// this assumes that all the data relating to this event is passed in via the <paramref name="data"/>
		/// parameter and no other data should be captured from the environment.
		/// </para>
		/// </remarks>
		public LoggingEvent(Type callerStackBoundaryDeclaringType, log4net.Repository.ILoggerRepository repository, LoggingEventData data) : this(callerStackBoundaryDeclaringType, repository, data, FixFlags.All)
		{
		}

		/// <summary>
		/// Initializes a new instance of the <see cref="LoggingEvent" /> class 
		/// using specific data.
		/// </summary>
		/// <param name="data">Data used to initialize the logging event.</param>
		/// <remarks>
		/// <para>
		/// This constructor is provided to allow a <see cref="LoggingEvent" />
		/// to be created independently of the log4net framework. This can
		/// be useful if you require a custom serialization scheme.
		/// </para>
		/// <para>
		/// Use the <see cref="GetLoggingEventData(FixFlags)"/> method to obtain an 
		/// instance of the <see cref="LoggingEventData"/> class.
		/// </para>
		/// <para>
		/// This constructor sets this objects <see cref="Fix"/> flags to <see cref="FixFlags.All"/>,
		/// this assumes that all the data relating to this event is passed in via the <paramref name="data"/>
		/// parameter and no other data should be captured from the environment.
		/// </para>
		/// </remarks>
		public LoggingEvent(LoggingEventData data) : this(null, null, data)
		{
		}

		#endregion Public Instance Constructors

		#region Protected Instance Constructors

#if !NETCF

		/// <summary>
		/// Serialization constructor
		/// </summary>
		/// <param name="info">The <see cref="SerializationInfo" /> that holds the serialized object data.</param>
		/// <param name="context">The <see cref="StreamingContext" /> that contains contextual information about the source or destination.</param>
		/// <remarks>
		/// <para>
		/// Initializes a new instance of the <see cref="LoggingEvent" /> class 
		/// with serialized data.
		/// </para>
		/// </remarks>
		protected LoggingEvent(SerializationInfo info, StreamingContext context) 
		{
			m_data.LoggerName = info.GetString("LoggerName");

			// Note we are deserializing the whole level object. That is the
			// name and the value. This value is correct for the source 
			// hierarchy but may not be for the target hierarchy that this
			// event may be re-logged into. If it is to be re-logged it may
			// be necessary to re-lookup the level based only on the name.
			m_data.Level = (Level)info.GetValue("Level", typeof(Level));

			m_data.Message = info.GetString("Message");
			m_data.ThreadName = info.GetString("ThreadName");
			m_data.TimeStamp = info.GetDateTime("TimeStamp");
			m_data.LocationInfo = (LocationInfo) info.GetValue("LocationInfo", typeof(LocationInfo));
			m_data.UserName = info.GetString("UserName");
			m_data.ExceptionString = info.GetString("ExceptionString");
			m_data.Properties = (PropertiesDictionary) info.GetValue("Properties", typeof(PropertiesDictionary));
			m_data.Domain = info.GetString("Domain");
			m_data.Identity = info.GetString("Identity");

			// We have restored all the values of this instance, i.e. all the values are fixed
			// Set the fix flags otherwise the data values may be overwritten from the current environment.
			m_fixFlags = FixFlags.All;
		}

#endif

		#endregion Protected Instance Constructors

		#region Public Instance Properties
	
		/// <summary>
		/// Gets the time when the current process started.
		/// </summary>
		/// <value>
		/// This is the time when this process started.
		/// </value>
		/// <remarks>
		/// <para>
		/// The TimeStamp is stored in the local time zone for this computer.
		/// </para>
		/// <para>
		/// Tries to get the start time for the current process.
		/// Failing that it returns the time of the first call to
		/// this property.
		/// </para>
		/// <para>
		/// Note that AppDomains may be loaded and unloaded within the
		/// same process without the process terminating and therefore
		/// without the process start time being reset.
		/// </para>
		/// </remarks>
		public static DateTime StartTime
		{
			get { return SystemInfo.ProcessStartTime; }
		}

		/// <summary>
		/// Gets the <see cref="Level" /> of the logging event.
		/// </summary>
		/// <value>
		/// The <see cref="Level" /> of the logging event.
		/// </value>
		/// <remarks>
		/// <para>
		/// Gets the <see cref="Level" /> of the logging event.
		/// </para>
		/// </remarks>
		public Level Level
		{
			get { return m_data.Level; } 
		}

		/// <summary>
		/// Gets the time of the logging event.
		/// </summary>
		/// <value>
		/// The time of the logging event.
		/// </value>
		/// <remarks>
		/// <para>
		/// The TimeStamp is stored in the local time zone for this computer.
		/// </para>
		/// </remarks>
		public DateTime TimeStamp
		{
			get { return m_data.TimeStamp; }
		}

		/// <summary>
		/// Gets the name of the logger that logged the event.
		/// </summary>
		/// <value>
		/// The name of the logger that logged the event.
		/// </value>
		/// <remarks>
		/// <para>
		/// Gets the name of the logger that logged the event.
		/// </para>
		/// </remarks>
		public string LoggerName
		{
			get { return m_data.LoggerName; }
		}

		/// <summary>
		/// Gets the location information for this logging event.
		/// </summary>
		/// <value>
		/// The location information for this logging event.
		/// </value>
		/// <remarks>
		/// <para>
		/// The collected information is cached for future use.
		/// </para>
		/// <para>
		/// See the <see cref="LocationInfo"/> class for more information on
		/// supported frameworks and the different behavior in Debug and
		/// Release builds.
		/// </para>
		/// </remarks>
		public LocationInfo LocationInformation
		{
			get
			{
				if (m_data.LocationInfo == null  && this.m_cacheUpdatable) 
				{
					m_data.LocationInfo = new LocationInfo(m_callerStackBoundaryDeclaringType);
				}
				return m_data.LocationInfo;
			}
		}

		/// <summary>
		/// Gets the message object used to initialize this event.
		/// </summary>
		/// <value>
		/// The message object used to initialize this event.
		/// </value>
		/// <remarks>
		/// <para>
		/// Gets the message object used to initialize this event.
		/// Note that this event may not have a valid message object.
		/// If the event is serialized the message object will not 
		/// be transferred. To get the text of the message the
		/// <see cref="RenderedMessage"/> property must be used 
		/// not this property.
		/// </para>
		/// <para>
		/// If there is no defined message object for this event then
		/// null will be returned.
		/// </para>
		/// </remarks>
		public object MessageObject
		{
			get { return m_message; }
		} 

		/// <summary>
		/// Gets the exception object used to initialize this event.
		/// </summary>
		/// <value>
		/// The exception object used to initialize this event.
		/// </value>
		/// <remarks>
		/// <para>
		/// Gets the exception object used to initialize this event.
		/// Note that this event may not have a valid exception object.
		/// If the event is serialized the exception object will not 
		/// be transferred. To get the text of the exception the
		/// <see cref="GetExceptionString"/> method must be used 
		/// not this property.
		/// </para>
		/// <para>
		/// If there is no defined exception object for this event then
		/// null will be returned.
		/// </para>
		/// </remarks>
		public Exception ExceptionObject
		{
			get { return m_thrownException; }
		} 

		/// <summary>
		/// The <see cref="ILoggerRepository"/> that this event was created in.
		/// </summary>
		/// <remarks>
		/// <para>
		/// The <see cref="ILoggerRepository"/> that this event was created in.
		/// </para>
		/// </remarks>
		public ILoggerRepository Repository
		{
			get { return m_repository; }
		}

		/// <summary>
		/// Ensure that the repository is set.
		/// </summary>
		/// <param name="repository">the value for the repository</param>
		internal void EnsureRepository(ILoggerRepository repository)
		{
			if (repository != null)
			{
				m_repository = repository;
			}
		}

		/// <summary>
		/// Gets the message, rendered through the <see cref="ILoggerRepository.RendererMap" />.
		/// </summary>
		/// <value>
		/// The message rendered through the <see cref="ILoggerRepository.RendererMap" />.
		/// </value>
		/// <remarks>
		/// <para>
		/// The collected information is cached for future use.
		/// </para>
		/// </remarks>
		public string RenderedMessage
		{
			get 
			{ 
				if (m_data.Message == null && this.m_cacheUpdatable)
				{
					if (m_message == null)
					{
						m_data.Message = "";
					}
					else if (m_message is string)
					{
						m_data.Message = (m_message as string);
					}
					else if (m_repository != null)
					{
						m_data.Message = m_repository.RendererMap.FindAndRender(m_message);
					}
					else
					{
						// Very last resort
						m_data.Message = m_message.ToString();
					}
				}
				return m_data.Message; 
			}
		}

		/// <summary>
		/// Write the rendered message to a TextWriter
		/// </summary>
		/// <param name="writer">the writer to write the message to</param>
		/// <remarks>
		/// <para>
		/// Unlike the <see cref="RenderedMessage"/> property this method
		/// does store the message data in the internal cache. Therefore 
		/// if called only once this method should be faster than the
		/// <see cref="RenderedMessage"/> property, however if the message is
		/// to be accessed multiple times then the property will be more efficient.
		/// </para>
		/// </remarks>
		public void WriteRenderedMessage(TextWriter writer)
		{
			if (m_data.Message != null)
			{
				writer.Write(m_data.Message); 
			}
			else
			{
				if (m_message != null)
				{
					if (m_message is string)
					{
						writer.Write(m_message as string);
					}
					else if (m_repository != null)
					{
						m_repository.RendererMap.FindAndRender(m_message, writer);
					}
					else
					{
						// Very last resort
						writer.Write(m_message.ToString());
					}
				}
			}
		}

		/// <summary>
		/// Gets the name of the current thread.  
		/// </summary>
		/// <value>
		/// The name of the current thread, or the thread ID when 
		/// the name is not available.
		/// </value>
		/// <remarks>
		/// <para>
		/// The collected information is cached for future use.
		/// </para>
		/// </remarks>
		public string ThreadName
		{
			get
			{
				if (m_data.ThreadName == null && this.m_cacheUpdatable)
				{
#if NETCF
					// Get thread ID only
					m_data.ThreadName = SystemInfo.CurrentThreadId.ToString(System.Globalization.NumberFormatInfo.InvariantInfo);
#else
					m_data.ThreadName = System.Threading.Thread.CurrentThread.Name;
					if (m_data.ThreadName == null || m_data.ThreadName.Length == 0)
					{
						// The thread name is not available. Therefore we
						// go the the AppDomain to get the ID of the 
						// current thread. (Why don't Threads know their own ID?)
						try
						{
							m_data.ThreadName = SystemInfo.CurrentThreadId.ToString(System.Globalization.NumberFormatInfo.InvariantInfo);
						}
						catch(System.Security.SecurityException)
						{
							// This security exception will occur if the caller does not have 
							// some undefined set of SecurityPermission flags.
							LogLog.Debug("LoggingEvent: Security exception while trying to get current thread ID. Error Ignored. Empty thread name.");

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色呦呦网站一区| 麻豆91精品视频| 99久久久久久| 中文字幕第一区二区| 成人国产精品免费观看视频| 国产精品久久久久婷婷| 成人av网站在线观看免费| 综合激情网...| 欧美午夜宅男影院| 丝袜美腿高跟呻吟高潮一区| 日韩午夜中文字幕| 国产一区二区毛片| 中文字幕在线不卡一区 | 全国精品久久少妇| 精品久久久久久久久久久久久久久久久| 裸体健美xxxx欧美裸体表演| 久久中文娱乐网| 99视频一区二区| 亚洲第一搞黄网站| 久久这里都是精品| 色综合天天做天天爱| 五月天一区二区三区| 久久欧美一区二区| 91最新地址在线播放| 天天av天天翘天天综合网| 亚洲精品一区二区在线观看| 99久久精品情趣| 免费在线观看日韩欧美| 中日韩av电影| 欧美精品乱码久久久久久按摩| 国内精品久久久久影院薰衣草| 国产精品美女视频| 欧美精品乱码久久久久久| 国产成人在线视频网址| 亚洲国产精品一区二区久久| 久久久精品黄色| 欧美裸体一区二区三区| 粉嫩一区二区三区在线看| 亚洲高清不卡在线观看| 欧美激情一区三区| 欧美一区二区国产| 91美女在线观看| 黄一区二区三区| 亚洲大尺度视频在线观看| 欧美精品一区在线观看| 欧美日韩在线播放一区| 99在线精品观看| 久久丁香综合五月国产三级网站| 亚洲综合图片区| 国产精品二三区| www欧美成人18+| 日韩一区二区三区四区| 在线观看视频欧美| av亚洲产国偷v产偷v自拍| 久久国产精品99精品国产| 五月激情综合网| 亚洲免费在线电影| 国产精品色哟哟| 精品国产一区二区三区久久久蜜月 | 国产成人综合精品三级| 日本免费新一区视频| 一区二区三区成人在线视频| 国产精品久久久久久福利一牛影视 | 视频一区二区欧美| 一区二区三区色| 国产精品初高中害羞小美女文| 久久综合色天天久久综合图片| 欧美一级欧美三级| 欧美疯狂做受xxxx富婆| 欧美午夜免费电影| 日本久久电影网| 91小视频在线免费看| 成人国产亚洲欧美成人综合网| 国产精品99久久久久久有的能看| 麻豆91在线播放免费| 久久精品国产亚洲5555| 美国欧美日韩国产在线播放| 午夜电影网一区| 亚洲图片一区二区| 亚洲mv大片欧洲mv大片精品| 亚洲成人一区二区在线观看| 亚洲自拍另类综合| 亚洲综合一区二区三区| 亚洲一区在线观看免费 | 偷偷要91色婷婷| 天天爽夜夜爽夜夜爽精品视频| 欧洲精品在线观看| 精品在线一区二区三区| 亚洲成人中文在线| 亚洲成人av中文| 热久久久久久久| 国产一区二区剧情av在线| 国产精品18久久久久久vr| 国内精品伊人久久久久av一坑| 精品一区二区日韩| 国产精品18久久久久久久久久久久 | 色天天综合久久久久综合片| 国产精品伊人色| 蜜臀av一级做a爰片久久| 樱桃视频在线观看一区| 国产精品色呦呦| 久久久久久久久久久久电影 | 另类综合日韩欧美亚洲| 亚洲一级在线观看| 最新国产成人在线观看| 国产精品美日韩| 中文在线一区二区| 欧美国产精品一区二区| 国产日韩影视精品| 久久久久久久网| 久久综合精品国产一区二区三区 | 亚洲日本va午夜在线影院| 欧美一区二区三区免费在线看| 一本一道久久a久久精品| 99久久精品国产麻豆演员表| av电影一区二区| av日韩在线网站| 99久久国产综合精品色伊| 成人黄色软件下载| 97久久超碰国产精品电影| 成人av在线资源网站| 成人h动漫精品| 99re成人精品视频| 欧美影视一区在线| 欧美另类z0zxhd电影| 欧美一区二区在线不卡| 91精品国产入口在线| 欧美成人官网二区| 国产日韩欧美精品在线| 国产精品久久久久久久久搜平片| 中文字幕一区二区三区在线不卡| 中文字幕乱码日本亚洲一区二区| 国产精品白丝在线| 亚洲狠狠丁香婷婷综合久久久| 亚洲在线视频免费观看| 日韩精品91亚洲二区在线观看| 日本vs亚洲vs韩国一区三区| 韩国理伦片一区二区三区在线播放| 久草中文综合在线| 大白屁股一区二区视频| 91美女蜜桃在线| 日韩欧美一级二级| 国产精品亲子伦对白| 亚洲一区中文在线| 精品在线观看视频| 99久久国产综合精品女不卡| 69久久99精品久久久久婷婷| 久久蜜桃香蕉精品一区二区三区| 国产精品国产三级国产| 亚洲福利一区二区| 国产美女精品人人做人人爽| 99久久久久久| 欧美本精品男人aⅴ天堂| 中文字幕一区在线观看视频| 天天色综合天天| 成人免费高清在线| 在线不卡欧美精品一区二区三区| 久久久久国产成人精品亚洲午夜| 亚洲精品国产精品乱码不99| 美国av一区二区| 色婷婷激情综合| 久久久国际精品| 三级久久三级久久久| 成年人午夜久久久| 欧美xxxxx牲另类人与| 亚洲在线观看免费视频| 国产电影一区在线| 这里是久久伊人| 亚洲欧美国产77777| 国产精品18久久久久久久久久久久 | 99久久99久久久精品齐齐| 7777女厕盗摄久久久| 亚洲视频一区在线| 国产福利一区二区三区视频在线 | 日本精品一区二区三区高清| 久久久三级国产网站| 日日夜夜一区二区| 91福利精品第一导航| 欧美高清在线视频| 精品亚洲欧美一区| 在线综合+亚洲+欧美中文字幕| 1000精品久久久久久久久| 国产精品一区二区在线播放| 欧美日韩在线三级| 亚洲永久精品国产| 日本韩国欧美三级| 亚洲男人的天堂在线aⅴ视频| 成人国产精品免费网站| 久久久一区二区三区捆绑**| 免费欧美日韩国产三级电影| 欧美色涩在线第一页| 一区二区三区在线免费观看 | 在线综合+亚洲+欧美中文字幕| 亚洲一区二区三区四区在线免费观看| 成人avav在线| 中文字幕亚洲不卡| 97久久精品人人澡人人爽| 国产精品无圣光一区二区| 国产成人精品网址| 欧美激情中文不卡|