WebServiceErrorEvent Class

WebServiceErrorEvent Class

.NET Framework (current version)
 

Defines the event that contains information about Web service errors.

Namespace:   System.Web.Management
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

System.Object
  System.Web.Management.WebBaseEvent
    System.Web.Management.WebManagementEvent
      System.Web.Management.WebBaseErrorEvent
        System.Web.Management.WebRequestErrorEvent
          System.Web.Management.WebServiceErrorEvent

public class WebServiceErrorEvent : WebRequestErrorEvent

NameDescription
System_CAPS_protmethodWebServiceErrorEvent(String, Object, Exception)

Initializes a new instance of the WebServiceErrorEvent class by using the specified event parameters.

NameDescription
System_CAPS_pubpropertyErrorException

Gets the Exception associated with the error. (Inherited from WebBaseErrorEvent.)

System_CAPS_pubpropertyEventCode

Gets the code value associated with the event.(Inherited from WebBaseEvent.)

System_CAPS_pubpropertyEventDetailCode

Gets the event detail code.(Inherited from WebBaseEvent.)

System_CAPS_pubpropertyEventID

Gets the identifier associated with the event.(Inherited from WebBaseEvent.)

System_CAPS_pubpropertyEventOccurrence

Gets a counter that represents the number of times the event has occurred.(Inherited from WebBaseEvent.)

System_CAPS_pubpropertyEventSequence

Gets the number of times the event has been raised by the application.(Inherited from WebBaseEvent.)

System_CAPS_pubpropertyEventSource

Gets the object that raises the event.(Inherited from WebBaseEvent.)

System_CAPS_pubpropertyEventTime

Gets the time when the event was raised.(Inherited from WebBaseEvent.)

System_CAPS_pubpropertyEventTimeUtc

Gets the time when the event was raised.(Inherited from WebBaseEvent.)

System_CAPS_pubpropertyMessage

Gets the message that describes the event.(Inherited from WebBaseEvent.)

System_CAPS_pubpropertyProcessInformation

Gets information about the ASP.NET application-hosting process.(Inherited from WebManagementEvent.)

System_CAPS_pubpropertyRequestInformation

Gets the application request information.(Inherited from WebRequestErrorEvent.)

System_CAPS_pubpropertyThreadInformation

Gets the application thread information.(Inherited from WebRequestErrorEvent.)

System_CAPS_pubpropertySystem_CAPS_staticWebServiceErrorEventCode

Gets the code number that is associated with the current error event.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodFormatCustomEventDetails(WebEventFormatter)

Provides standard formatting of the event information.(Inherited from WebBaseEvent.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodIncrementPerfCounters()

This API supports the product infrastructure and is not intended to be used directly from your code. Used internally to increment the relevant performance counters.(Inherited from WebRequestErrorEvent.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodRaise()

Raises an event by notifying any configured provider that the event has occurred.(Inherited from WebBaseEvent.)

System_CAPS_pubmethodToString()

Formats event information for display purposes.(Inherited from WebBaseEvent.)

System_CAPS_pubmethodToString(Boolean, Boolean)

Formats event information for display purposes.(Inherited from WebBaseEvent.)

The WebServiceErrorEvent event is raised if an error occurs during a Web service request. Your application can use this event to obtain request-related information, which is available by using the WebRequestInformation and the WebThreadInformation classes.

.NET Framework
Available since 3.5

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft