EnsureExceptionData() 공개 메소드

Gets or creates the CKExceptionData that captures exception information. If P:Exception is null, this returns null.
public EnsureExceptionData ( ) : CKExceptionData
리턴 CKExceptionData
예제 #1
0
 void IActivityMonitorClient.OnUnfilteredLog( ActivityMonitorLogData data )
 {
     var h = EnsureChannel();
     if( h != null )
     {
         IMulticastLogEntry e = LogEntry.CreateMulticastLog( _monitorSource.UniqueId, _prevLogType, _prevlogTime, _currentGroupDepth, data.Text, data.LogTime, data.Level, data.FileName, data.LineNumber, data.Tags, data.EnsureExceptionData() );
         h.Handle( new GrandOutputEventInfo( e, _monitorSource.Topic ) );
         _prevlogTime = data.LogTime;
         _prevLogType = LogEntryType.Line;
     }
 }