Mindscape.Raygun4Net.RaygunClient.RaygunClient C# (CSharp) Method

RaygunClient() public method

Initializes a new instance of the RaygunClient class.
public RaygunClient ( string apiKey ) : Foundation
apiKey string The API key.
return Foundation
        public RaygunClient(string apiKey)
        {
            _apiKey = apiKey;

              _wrapperExceptions.Add(typeof(TargetInvocationException));
              _wrapperExceptions.Add(typeof(AggregateException));

              ThreadPool.QueueUserWorkItem(state => { SendStoredMessages(0); });
        }

Same methods

RaygunClient::RaygunClient ( ) : System
RaygunClient::RaygunClient ( RaygunSettings settings, HttpContext context = null ) : System
RaygunClient::RaygunClient ( string apiKey ) : System