Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Net.NetEventSource Class Referencesealed

Classes

class  Keywords
 

Public Member Functions

void HeadersInvalidValue (string name, string rawValue)
 
void HandlerMessage (int poolId, int workerId, int requestId, string memberName, string message)
 
void HandlerMessageError (int poolId, int workerId, int requestId, string memberName, string message)
 
void AuthenticationInfo (string uri, string message)
 
void AuthenticationError (string uri, string message)
 
void EnumerateSecurityPackages (string securityPackage)
 
void SspiPackageNotFound (string packageName)
 
void AcquireDefaultCredential (string packageName, global::Interop.SspiCli.CredentialUse intent)
 
void AcquireCredentialsHandle (string packageName, global::Interop.SspiCli.CredentialUse intent, object authdata)
 
void AcquireCredentialsHandle (string packageName, global::Interop.SspiCli.CredentialUse intent, string authdata)
 
void InitializeSecurityContext (System.Net.Security.SafeFreeCredentials credential, System.Net.Security.SafeDeleteContext context, string targetName, global::Interop.SspiCli.ContextFlags inFlags)
 
void AcceptSecurityContext (System.Net.Security.SafeFreeCredentials credential, System.Net.Security.SafeDeleteContext context, global::Interop.SspiCli.ContextFlags inFlags)
 
void OperationReturnedSomething (string operation, global::Interop.SECURITY_STATUS errorCode)
 
void SecurityContextInputBuffers (string context, int inputBuffersSize, int outputBufferSize, global::Interop.SECURITY_STATUS errorCode)
 
void EnumerateSecurityPackages (string securityPackage)
 
void SspiPackageNotFound (string packageName)
 
void AcquireDefaultCredential (string packageName, global::Interop.SspiCli.CredentialUse intent)
 
void AcquireCredentialsHandle (string packageName, global::Interop.SspiCli.CredentialUse intent, object authdata)
 
void AcquireCredentialsHandle (string packageName, global::Interop.SspiCli.CredentialUse intent, string authdata)
 
void InitializeSecurityContext (System.Net.Security.SafeFreeCredentials credential, System.Net.Security.SafeDeleteContext context, string targetName, global::Interop.SspiCli.ContextFlags inFlags)
 
void AcceptSecurityContext (System.Net.Security.SafeFreeCredentials credential, System.Net.Security.SafeDeleteContext context, global::Interop.SspiCli.ContextFlags inFlags)
 
void OperationReturnedSomething (string operation, global::Interop.SECURITY_STATUS errorCode)
 
void SecurityContextInputBuffers (string context, int inputBuffersSize, int outputBufferSize, global::Interop.SECURITY_STATUS errorCode)
 
void EnumerateSecurityPackages (string securityPackage)
 
void SspiPackageNotFound (string packageName)
 
void AcquireDefaultCredential (string packageName, global::Interop.SspiCli.CredentialUse intent)
 
void AcquireCredentialsHandle (string packageName, global::Interop.SspiCli.CredentialUse intent, object authdata)
 
void AcquireCredentialsHandle (string packageName, global::Interop.SspiCli.CredentialUse intent, string authdata)
 
void InitializeSecurityContext (System.Net.Security.SafeFreeCredentials credential, System.Net.Security.SafeDeleteContext context, string targetName, global::Interop.SspiCli.ContextFlags inFlags)
 
void AcceptSecurityContext (System.Net.Security.SafeFreeCredentials credential, System.Net.Security.SafeDeleteContext context, global::Interop.SspiCli.ContextFlags inFlags)
 
void OperationReturnedSomething (string operation, global::Interop.SECURITY_STATUS errorCode)
 
void SecurityContextInputBuffers (string context, int inputBuffersSize, int outputBufferSize, global::Interop.SECURITY_STATUS errorCode)
 
void EnumerateSecurityPackages (string securityPackage)
 
void SspiPackageNotFound (string packageName)
 
void SslStreamCtor (SslStream sslStream, Stream innerStream)
 
void SecureChannelCtor (SecureChannel secureChannel, SslStream sslStream, string hostname, X509CertificateCollection clientCertificates, EncryptionPolicy encryptionPolicy)
 
void LocatingPrivateKey (X509Certificate x509Certificate, object instance)
 
void CertIsType2 (object instance)
 
void FoundCertInStore (bool serverMode, object instance)
 
void NotFoundCertInStore (object instance)
 
void RemoteCertificate (X509Certificate remoteCertificate)
 
void CertificateFromDelegate (SecureChannel secureChannel)
 
void NoDelegateNoClientCert (SecureChannel secureChannel)
 
void NoDelegateButClientCert (SecureChannel secureChannel)
 
void AttemptingRestartUsingCert (X509Certificate clientCertificate, SecureChannel secureChannel)
 
void NoIssuersTryAllCerts (SecureChannel secureChannel)
 
void LookForMatchingCerts (int issuersCount, SecureChannel secureChannel)
 
void SelectedCert (X509Certificate clientCertificate, SecureChannel secureChannel)
 
void CertsAfterFiltering (int filteredCertsCount, SecureChannel secureChannel)
 
void FindingMatchingCerts (SecureChannel secureChannel)
 
void UsingCachedCredential (SecureChannel secureChannel)
 
void SspiSelectedCipherSuite (string process, SslProtocols sslProtocol, CipherAlgorithmType cipherAlgorithm, int cipherStrength, HashAlgorithmType hashAlgorithm, int hashStrength, ExchangeAlgorithmType keyExchangeAlgorithm, int keyExchangeStrength)
 
void RemoteCertificateError (SecureChannel secureChannel, string message)
 
void RemoteCertDeclaredValid (SecureChannel secureChannel)
 
void RemoteCertHasNoErrors (SecureChannel secureChannel)
 
void RemoteCertUserDeclaredInvalid (SecureChannel secureChannel)
 
void SentFrame (SslStream sslStream, ReadOnlySpan< byte > frame)
 
void ReceivedFrame (SslStream sslStream, TlsFrameHelper.TlsFrameInfo frameInfo)
 
void AcquireDefaultCredential (string packageName, global::Interop.SspiCli.CredentialUse intent)
 
void AcquireCredentialsHandle (string packageName, global::Interop.SspiCli.CredentialUse intent, object authdata)
 
void AcquireCredentialsHandle (string packageName, global::Interop.SspiCli.CredentialUse intent, string authdata)
 
void InitializeSecurityContext (SafeFreeCredentials credential, SafeDeleteContext context, string targetName, global::Interop.SspiCli.ContextFlags inFlags)
 
void AcceptSecurityContext (SafeFreeCredentials credential, SafeDeleteContext context, global::Interop.SspiCli.ContextFlags inFlags)
 
void OperationReturnedSomething (string operation, global::Interop.SECURITY_STATUS errorCode)
 
void SecurityContextInputBuffers (string context, int inputBuffersSize, int outputBufferSize, global::Interop.SECURITY_STATUS errorCode)
 
bool IsEnabled ()
 
bool IsEnabled (EventLevel level, EventKeywords keywords)
 
bool IsEnabled (EventLevel level, EventKeywords keywords, EventChannel channel)
 
stringGetTrait (string key)
 
override string ToString ()
 
void Dispose ()
 
unsafe void Write (string? eventName)
 
unsafe void Write (string? eventName, EventSourceOptions options)
 
unsafe void Write<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties)] T > (string? eventName, T data)
 
unsafe void Write<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties)] T > (string? eventName, EventSourceOptions options, T data)
 
unsafe void Write<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties)] T > (string? eventName, ref EventSourceOptions options, ref T data)
 
unsafe void Write<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties)] T > (string? eventName, ref EventSourceOptions options, ref Guid activityId, ref Guid relatedActivityId, ref T data)
 

Static Public Member Functions

static void UriBaseAddress (object obj, Uri baseAddress)
 
static void ContentNull (object obj)
 
static void AuthenticationInfo (Uri uri, string message)
 
static void AuthenticationError (Uri uri, string message)
 
static void Info (object thisOrContextObject, FormattableString formattableString=null, [CallerMemberName] string memberName=null)
 
static void Info (object thisOrContextObject, object message, [CallerMemberName] string memberName=null)
 
static void Error (object thisOrContextObject, FormattableString formattableString, [CallerMemberName] string memberName=null)
 
static void Error (object thisOrContextObject, object message, [CallerMemberName] string memberName=null)
 
static void Verbose (object thisOrContextObject, FormattableString formattableString, [CallerMemberName] string memberName=null)
 
static void Associate (object first, object second, [CallerMemberName] string memberName=null)
 
static string IdOf (object value)
 
static int GetHashCode (object value)
 
static object Format (object value)
 
static void Info (object thisOrContextObject, FormattableString formattableString=null, [CallerMemberName] string memberName=null)
 
static void Info (object thisOrContextObject, object message, [CallerMemberName] string memberName=null)
 
static void Error (object thisOrContextObject, FormattableString formattableString, [CallerMemberName] string memberName=null)
 
static void Error (object thisOrContextObject, object message, [CallerMemberName] string memberName=null)
 
static void Verbose (object thisOrContextObject, FormattableString formattableString, [CallerMemberName] string memberName=null)
 
static void DumpBuffer (object thisOrContextObject, byte[] buffer, int offset, int count, [CallerMemberName] string memberName=null)
 
static unsafe void DumpBuffer (object thisOrContextObject, IntPtr bufferPtr, int count, [CallerMemberName] string memberName=null)
 
static void Associate (object first, object second, [CallerMemberName] string memberName=null)
 
static string IdOf (object value)
 
static int GetHashCode (object value)
 
static object Format (object value)
 
static void Info (object thisOrContextObject, FormattableString formattableString=null, [CallerMemberName] string memberName=null)
 
static void Info (object thisOrContextObject, object message, [CallerMemberName] string memberName=null)
 
static void Error (object thisOrContextObject, FormattableString formattableString, [CallerMemberName] string memberName=null)
 
static void Error (object thisOrContextObject, object message, [CallerMemberName] string memberName=null)
 
static void Verbose (object thisOrContextObject, FormattableString formattableString, [CallerMemberName] string memberName=null)
 
static void Associate (object first, object second, [CallerMemberName] string memberName=null)
 
static string IdOf (object value)
 
static int GetHashCode (object value)
 
static object Format (object value)
 
static void Info (object thisOrContextObject, FormattableString formattableString=null, [CallerMemberName] string memberName=null)
 
static void Info (object thisOrContextObject, object message, [CallerMemberName] string memberName=null)
 
static void Error (object thisOrContextObject, FormattableString formattableString, [CallerMemberName] string memberName=null)
 
static void Error (object thisOrContextObject, object message, [CallerMemberName] string memberName=null)
 
static string IdOf (object value)
 
static int GetHashCode (object value)
 
static object Format (object value)
 
static void Error (object thisOrContextObject, object message, [CallerMemberName] string memberName=null)
 
static string IdOf (object value)
 
static int GetHashCode (object value)
 
static object Format (object value)
 
static void Info (object thisOrContextObject, FormattableString formattableString=null, [CallerMemberName] string memberName=null)
 
static void Info (object thisOrContextObject, object message, [CallerMemberName] string memberName=null)
 
static string IdOf (object value)
 
static int GetHashCode (object value)
 
static object Format (object value)
 
static void Info (object thisOrContextObject, FormattableString formattableString=null, [CallerMemberName] string memberName=null)
 
static void Info (object thisOrContextObject, object message, [CallerMemberName] string memberName=null)
 
static void Error (object thisOrContextObject, FormattableString formattableString, [CallerMemberName] string memberName=null)
 
static string IdOf (object value)
 
static int GetHashCode (object value)
 
static object Format (object value)
 
static void Info (object thisOrContextObject, FormattableString formattableString=null, [CallerMemberName] string memberName=null)
 
static void Info (object thisOrContextObject, object message, [CallerMemberName] string memberName=null)
 
static void Error (object thisOrContextObject, FormattableString formattableString, [CallerMemberName] string memberName=null)
 
static void Error (object thisOrContextObject, object message, [CallerMemberName] string memberName=null)
 
static void Associate (object first, object second, [CallerMemberName] string memberName=null)
 
static string IdOf (object value)
 
static int GetHashCode (object value)
 
static object Format (object value)
 
static void DumpBuffer (object thisOrContextObject, ReadOnlySpan< byte > buffer, [CallerMemberName] string memberName=null)
 
static void Info (object thisOrContextObject, FormattableString formattableString=null, [CallerMemberName] string memberName=null)
 
static void Info (object thisOrContextObject, object message, [CallerMemberName] string memberName=null)
 
static void Error (object thisOrContextObject, FormattableString formattableString, [CallerMemberName] string memberName=null)
 
static void Error (object thisOrContextObject, object message, [CallerMemberName] string memberName=null)
 
static void Verbose (object thisOrContextObject, FormattableString formattableString, [CallerMemberName] string memberName=null)
 
static string IdOf (object value)
 
static int GetHashCode (object value)
 
static object Format (object value)
 
static void Accepted (Socket socket, object remoteEp, object localEp)
 
static void Connected (Socket socket, object localEp, object remoteEp)
 
static void ConnectedAsyncDns (Socket socket)
 
static void DumpBuffer (object thisOrContextObject, Memory< byte > buffer, int offset, int count, [CallerMemberName] string memberName=null)
 
static void Info (object thisOrContextObject, FormattableString formattableString=null, [CallerMemberName] string memberName=null)
 
static void Info (object thisOrContextObject, object message, [CallerMemberName] string memberName=null)
 
static void Error (object thisOrContextObject, FormattableString formattableString, [CallerMemberName] string memberName=null)
 
static void Error (object thisOrContextObject, object message, [CallerMemberName] string memberName=null)
 
static void DumpBuffer (object thisOrContextObject, byte[] buffer, int offset, int count, [CallerMemberName] string memberName=null)
 
static unsafe void DumpBuffer (object thisOrContextObject, IntPtr bufferPtr, int count, [CallerMemberName] string memberName=null)
 
static string IdOf (object value)
 
static int GetHashCode (object value)
 
static object Format (object value)
 
static Guid GetGuid (Type eventSourceType)
 
static string GetName (Type eventSourceType)
 
static ? string GenerateManifest ([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type eventSourceType, string? assemblyPathToIncludeInManifest)
 
static ? string GenerateManifest ([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type eventSourceType, string? assemblyPathToIncludeInManifest, EventManifestOptions flags)
 
static IEnumerable< EventSourceGetSources ()
 
static void SendCommand (EventSource eventSource, EventCommand command, IDictionary< string, string?>? commandArguments)
 
static void SetCurrentThreadActivityId (Guid activityId)
 
static void SetCurrentThreadActivityId (Guid activityId, out Guid oldActivityThatWillContinue)
 

Static Public Attributes

static readonly System.Net.NetEventSource Log = new System.Net.NetEventSource()
 
static readonly NetEventSource Log = new NetEventSource()
 

Protected Member Functions

virtual void OnEventCommand (EventCommandEventArgs command)
 
unsafe void WriteEvent (int eventId)
 
unsafe void WriteEvent (int eventId, int arg1)
 
unsafe void WriteEvent (int eventId, int arg1, int arg2)
 
unsafe void WriteEvent (int eventId, int arg1, int arg2, int arg3)
 
unsafe void WriteEvent (int eventId, long arg1)
 
unsafe void WriteEvent (int eventId, long arg1, long arg2)
 
unsafe void WriteEvent (int eventId, long arg1, long arg2, long arg3)
 
unsafe void WriteEvent (int eventId, string? arg1)
 
unsafe void WriteEvent (int eventId, string? arg1, string? arg2)
 
unsafe void WriteEvent (int eventId, string? arg1, string? arg2, string? arg3)
 
unsafe void WriteEvent (int eventId, string? arg1, int arg2)
 
unsafe void WriteEvent (int eventId, string? arg1, int arg2, int arg3)
 
unsafe void WriteEvent (int eventId, string? arg1, long arg2)
 
unsafe void WriteEvent (int eventId, long arg1, string? arg2)
 
unsafe void WriteEvent (int eventId, int arg1, string? arg2)
 
unsafe void WriteEvent (int eventId, byte[]? arg1)
 
unsafe void WriteEvent (int eventId, long arg1, byte[]? arg2)
 
unsafe void WriteEvent (int eventId, params object?[] args)
 
unsafe void WriteEventCore (int eventId, int eventDataCount, EventData *data)
 
unsafe void WriteEventWithRelatedActivityIdCore (int eventId, Guid *relatedActivityId, int eventDataCount, EventData *data)
 
unsafe void WriteEventWithRelatedActivityId (int eventId, Guid relatedActivityId, params object?[] args)
 
virtual void Dispose (bool disposing)
 

Package Functions

void SendCommand (EventListener listener, EventProviderType eventProviderType, int perEventSourceSessionId, int etwSessionId, EventCommand command, bool enable, EventLevel level, EventKeywords matchAnyKeyword, IDictionary< string, string > commandArguments)
 
void DispatchToAllListeners (EventWrittenEventArgs eventCallbackArgs)
 
void DoCommand (EventCommandEventArgs commandArgs)
 
bool EnableEventForDispatcher (EventDispatcher dispatcher, EventProviderType eventProviderType, int eventId, bool value)
 
void AddListener (EventListener listener)
 
void ReportOutOfBandMessage (string msg)
 
unsafe void WriteMultiMerge (string eventName, ref EventSourceOptions options, TraceLoggingEventTypes eventTypes, Guid *activityID, Guid *childActivityID, EventData *data)
 

Static Package Functions

static EventOpcode GetOpcodeWithDefault (EventOpcode opcode, string eventName)
 
static bool IsCustomAttributeDefinedHelper (MemberInfo member, Type attributeType, EventManifestOptions flags=EventManifestOptions.None)
 
static Attribute GetCustomAttributeHelper (MemberInfo member, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors|DynamicallyAccessedMemberTypes.PublicProperties)] Type attributeType, EventManifestOptions flags=EventManifestOptions.None)
 

Package Attributes

int m_id
 
volatile EventMetadata[] m_eventData
 
EventLevel m_level
 
EventKeywords m_matchAnyKeyword
 
volatile EventDispatcher m_Dispatchers
 
volatile ulong[] m_channelData
 

Static Package Attributes

const string s_ActivityStartSuffix = "Start"
 
const string s_ActivityStopSuffix = "Stop"
 
const string DuplicateSourceNamesSwitch = "System.Diagnostics.Tracing.EventSource.AllowDuplicateSourceNames"
 

Properties

static bool IsSupported = InitializeIsSupported() [get]
 
string Name [get]
 
Guid Guid [get]
 
EventSourceSettings Settings [get]
 
ExceptionConstructionException [get]
 
static Guid CurrentThreadActivityId [get]
 
bool IsDisposed [get]
 
bool ThrowOnEventWriteErrors [get]
 
bool SelfDescribingEvents [get]
 
virtual ReadOnlySpan< byte > ProviderMetadata [get]
 
EventHandler< EventCommandEventArgs >? EventCommandExecuted
 

Private Member Functions

void UriBaseAddress (string uriBaseAddress, string objName, int objHash)
 
void ContentNull (string objName, int objHash)
 
unsafe void WriteEvent (int eventId, int arg1, int arg2, int arg3, string arg4, string arg5)
 
void Info (string thisOrContextObject, string memberName, string message)
 
void ErrorMessage (string thisOrContextObject, string memberName, string message)
 
void Associate (string thisOrContextObject, string memberName, string first, string second)
 
unsafe void WriteEvent (int eventId, string arg1, string arg2, string arg3, string arg4)
 
unsafe void WriteEvent (int eventId, string arg1, int arg2, int arg3, int arg4)
 
unsafe void WriteEvent (int eventId, string arg1, int arg2, string arg3)
 
unsafe void WriteEvent (int eventId, string arg1, string arg2, int arg3)
 
unsafe void WriteEvent (int eventId, string arg1, string arg2, string arg3, int arg4)
 
void InitializeSecurityContext (string credential, string context, string targetName, global::Interop.SspiCli.ContextFlags inFlags)
 
void AcceptSecurityContext (string credential, string context, global::Interop.SspiCli.ContextFlags inFlags)
 
void Info (string thisOrContextObject, string memberName, string message)
 
void ErrorMessage (string thisOrContextObject, string memberName, string message)
 
void DumpBuffer (string thisOrContextObject, string memberName, byte[] buffer)
 
void Associate (string thisOrContextObject, string memberName, string first, string second)
 
unsafe void WriteEvent (int eventId, string arg1, string arg2, string arg3, string arg4)
 
unsafe void WriteEvent (int eventId, string arg1, string arg2, byte[] arg3)
 
unsafe void WriteEvent (int eventId, string arg1, int arg2, int arg3, int arg4)
 
unsafe void WriteEvent (int eventId, string arg1, int arg2, string arg3)
 
unsafe void WriteEvent (int eventId, string arg1, string arg2, int arg3)
 
unsafe void WriteEvent (int eventId, string arg1, string arg2, string arg3, int arg4)
 
void InitializeSecurityContext (string credential, string context, string targetName, global::Interop.SspiCli.ContextFlags inFlags)
 
void AcceptSecurityContext (string credential, string context, global::Interop.SspiCli.ContextFlags inFlags)
 
void Info (string thisOrContextObject, string memberName, string message)
 
void ErrorMessage (string thisOrContextObject, string memberName, string message)
 
void Associate (string thisOrContextObject, string memberName, string first, string second)
 
unsafe void WriteEvent (int eventId, string arg1, string arg2, string arg3, string arg4)
 
unsafe void WriteEvent (int eventId, string arg1, int arg2, int arg3, int arg4)
 
unsafe void WriteEvent (int eventId, string arg1, int arg2, string arg3)
 
unsafe void WriteEvent (int eventId, string arg1, string arg2, int arg3)
 
unsafe void WriteEvent (int eventId, string arg1, string arg2, string arg3, int arg4)
 
void InitializeSecurityContext (string credential, string context, string targetName, global::Interop.SspiCli.ContextFlags inFlags)
 
void AcceptSecurityContext (string credential, string context, global::Interop.SspiCli.ContextFlags inFlags)
 
void Info (string thisOrContextObject, string memberName, string message)
 
void ErrorMessage (string thisOrContextObject, string memberName, string message)
 
void ErrorMessage (string thisOrContextObject, string memberName, string message)
 
void Info (string thisOrContextObject, string memberName, string message)
 
void Info (string thisOrContextObject, string memberName, string message)
 
void ErrorMessage (string thisOrContextObject, string memberName, string message)
 
void Info (string thisOrContextObject, string memberName, string message)
 
void ErrorMessage (string thisOrContextObject, string memberName, string message)
 
void Associate (string thisOrContextObject, string memberName, string first, string second)
 
unsafe void WriteEvent (int eventId, string arg1, string arg2, string arg3, string arg4)
 
void SslStreamCtor (string thisOrContextObject, string localId, string remoteId)
 
void SecureChannelCtor (string sslStream, string hostname, int secureChannelHash, int clientCertificatesCount, EncryptionPolicy encryptionPolicy)
 
void LocatingPrivateKey (string x509Certificate, int secureChannelHash)
 
void CertIsType2 (int secureChannelHash)
 
void FoundCertInStore (string store, int secureChannelHash)
 
void NotFoundCertInStore (int secureChannelHash)
 
void RemoteCertificate (string remoteCertificate)
 
void CertificateFromDelegate (int secureChannelHash)
 
void NoDelegateNoClientCert (int secureChannelHash)
 
void NoDelegateButClientCert (int secureChannelHash)
 
void AttemptingRestartUsingCert (string clientCertificate, int secureChannelHash)
 
void NoIssuersTryAllCerts (int secureChannelHash)
 
void LookForMatchingCerts (int issuersCount, int secureChannelHash)
 
void SelectedCert (string clientCertificate, int secureChannelHash)
 
void CertsAfterFiltering (int filteredCertsCount, int secureChannelHash)
 
void FindingMatchingCerts (int secureChannelHash)
 
void UsingCachedCredential (int secureChannelHash)
 
void RemoteCertificateError (int secureChannelHash, string message)
 
void RemoteCertDeclaredValid (int secureChannelHash)
 
void RemoteCertHasNoErrors (int secureChannelHash)
 
void RemoteCertUserDeclaredInvalid (int secureChannelHash)
 
void SentFrame (string sslStream, string tlsFrame, int isComplete)
 
void ReceivedFrame (string sslStream, string tlsFrame, int isComplete)
 
void Info (string thisOrContextObject, string memberName, string message)
 
void ErrorMessage (string thisOrContextObject, string memberName, string message)
 
void DumpBuffer (string thisOrContextObject, string memberName, byte[] buffer)
 
unsafe void WriteEvent (int eventId, string arg1, string arg2, byte[] arg3)
 
unsafe void WriteEvent (int eventId, string arg1, int arg2, int arg3, int arg4)
 
unsafe void WriteEvent (int eventId, string arg1, int arg2, string arg3)
 
unsafe void WriteEvent (int eventId, string arg1, string arg2, int arg3)
 
unsafe void WriteEvent (int eventId, string arg1, string arg2, string arg3, int arg4)
 
unsafe void WriteEvent (int eventId, string arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8)
 
unsafe void WriteEvent (int eventId, string arg1, string arg2, int arg3, int arg4, int arg5)
 
void InitializeSecurityContext (string credential, string context, string targetName, global::Interop.SspiCli.ContextFlags inFlags)
 
void AcceptSecurityContext (string credential, string context, global::Interop.SspiCli.ContextFlags inFlags)
 
void Accepted (string remoteEp, string localEp, int socketHash)
 
void Connected (string localEp, string remoteEp, int socketHash)
 
void ConnectedAsyncDns (int socketHash)
 
void Info (string thisOrContextObject, string memberName, string message)
 
void ErrorMessage (string thisOrContextObject, string memberName, string message)
 
void DumpBuffer (string thisOrContextObject, string memberName, byte[] buffer)
 
unsafe void WriteEvent (int eventId, string arg1, string arg2, byte[] arg3)
 
unsafe void WriteEvent (int eventId, string arg1, string arg2, int arg3)
 
unsafe void DefineEventPipeEvents ()
 
unsafe void WriteEventRaw (string eventName, ref EventDescriptor eventDescriptor, IntPtr eventHandle, Guid *activityID, Guid *relatedActivityID, int dataCount, IntPtr data)
 
unsafe void Initialize (Guid eventSourceGuid, string eventSourceName, string[] traits)
 
EventDispatcher GetDispatcher (EventListener listener)
 
unsafe void WriteEventVarargs (int eventId, Guid *childActivityID, object[] args)
 
object[] SerializeEventArgs (int eventId, object[] args)
 
void LogEventArgsMismatches (int eventId, object[] args)
 
unsafe void WriteToAllListeners (EventWrittenEventArgs eventCallbackArgs, int eventDataCount, EventData *data)
 
unsafe void WriteToAllListeners (string eventName, ref EventDescriptor eventDescriptor, EventTags tags, Guid *pActivityId, Guid *pChildActivityId, EventPayload payload)
 
unsafe void WriteEventString (string msgString)
 
void WriteStringToAllListeners (string eventName, string msg)
 
bool IsEnabledByDefault (int eventNum, bool enable, EventLevel currentLevel, EventKeywords currentMatchAnyKeyword)
 
bool IsEnabledCommon (bool enabled, EventLevel currentLevel, EventKeywords currentMatchAnyKeyword, EventLevel eventLevel, EventKeywords eventKeywords, EventChannel eventChannel)
 
void ThrowEventSourceException (string eventName, Exception innerEx=null)
 
bool AnyEventEnabled ()
 
void EnsureDescriptorsInitialized ()
 
unsafe void SendManifest (byte[] rawManifest)
 
unsafe void WriteMultiMerge (string eventName, ref EventSourceOptions options, TraceLoggingEventTypes eventTypes, Guid *activityID, Guid *childActivityID, params object[] values)
 
unsafe void WriteMultiMergeInner (string eventName, ref EventSourceOptions options, TraceLoggingEventTypes eventTypes, Guid *activityID, Guid *childActivityID, params object[] values)
 
unsafe void WriteImpl (string eventName, ref EventSourceOptions options, object data, Guid *pActivityId, Guid *pRelatedActivityId, TraceLoggingEventTypes eventTypes)
 
void InitializeProviderMetadata ()
 
NameInfo UpdateDescriptor (string name, TraceLoggingEventTypes eventInfo, ref EventSourceOptions options, out EventDescriptor descriptor)
 

Static Private Member Functions

static string Format (FormattableString s)
 
static string Format (FormattableString s)
 
static string Format (FormattableString s)
 
static string Format (FormattableString s)
 
static string Format (FormattableString s)
 
static string Format (FormattableString s)
 
static string Format (FormattableString s)
 
static string Format (FormattableString s)
 
static void AdditionalCustomizedToString< T > (T value, ref string result)
 
static string Format (FormattableString s)
 
static bool InitializeIsSupported ()
 
static string GetName (Type eventSourceType, EventManifestOptions flags)
 
static Guid GenerateGuidFromName (string name)
 
static unsafe void DecodeObjects (object[] decodedObjects, Type[] parameterTypes, EventData *data)
 
static unsafe void AssertValidString (EventData *data)
 
static bool AttributeTypeNamesMatch (Type attributeType, Type reflectedAttributeType)
 
static Type GetEventSourceBaseType (Type eventSourceType, bool allowEventSourceOverride, bool reflectionOnly)
 
static byte[] CreateManifestAndDescriptors ([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type eventSourceType, string eventSourceDllName, EventSource source, EventManifestOptions flags=EventManifestOptions.None)
 
static bool RemoveFirstArgIfRelatedActivityId (ref ParameterInfo[] args)
 
static void AddProviderEnumKind (ManifestBuilder manifest, FieldInfo staticField, string providerEnumKind)
 
static void AddEventDescriptor ([NotNull] ref EventMetadata[] eventData, string eventName, EventAttribute eventAttribute, ParameterInfo[] eventParameters, bool hasRelatedActivityID)
 
static void TrimEventDescriptors (ref EventMetadata[] eventData)
 
static void DebugCheckEvent (ref Dictionary< string, string > eventsByName, EventMetadata[] eventData, MethodInfo method, EventAttribute eventAttribute, ManifestBuilder manifest, EventManifestOptions options)
 
static int GetHelperCallFirstArg (MethodInfo method)
 
static EventSourceSettings ValidateSettings (EventSourceSettings settings)
 
static unsafe void WriteCleanup (GCHandle *pPins, int cPins)
 
static int AddValueToMetaData (List< byte > metaData, string value)
 
static int HexDigit (char c)
 

Private Attributes

string m_name
 
Guid m_guid
 
volatile byte[] m_rawManifest
 
EventHandler< EventCommandEventArgs > m_eventCommandExecuted
 
readonly EventSourceSettings m_config
 
bool m_eventSourceDisposed
 
bool m_eventSourceEnabled
 
volatile OverrideEventProvider m_etwProvider
 
object m_createEventLock
 
IntPtr m_writeEventStringEventHandle = IntPtr.Zero
 
volatile OverrideEventProvider m_eventPipeProvider
 
bool m_completelyInited
 
Exception m_constructionException
 
byte m_outOfBandMessageCount
 
EventCommandEventArgs m_deferredCommands
 
string[] m_traits
 
ActivityTracker m_activityTracker
 
byte[] m_providerMetadata
 
readonly TraceLoggingEventHandleTable m_eventHandleTable
 

Static Private Attributes

const DynamicallyAccessedMemberTypes ManifestMemberTypes = DynamicallyAccessedMemberTypes.All
 
static byte m_EventSourceExceptionRecurenceCount
 
static readonly bool AllowDuplicateSourceNames = AppContext.TryGetSwitch("System.Diagnostics.Tracing.EventSource.AllowDuplicateSourceNames", out var isEnabled) && isEnabled
 
const string EventSourceRequiresUnreferenceMessage = "EventSource will serialize the whole object graph. Trimmer will not safely handle this case because properties may be trimmed. This can be suppressed if the object is a primitive type"
 
const string EventSourceSuppressMessage = "Parameters to this method are primitive and are trimmer safe"
 

Detailed Description

Definition at line 11 of file NetEventSource.cs.


The documentation for this class was generated from the following files: