Class NPPWarning
WarningException thrown if configured and a native NPP function returns a positive error code
Inheritance
System.Object
System.Exception
System.SystemException
System.ComponentModel.WarningException
NPPWarning
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.ComponentModel.WarningException.HelpTopic
System.ComponentModel.WarningException.HelpUrl
System.Exception.GetBaseException()
System.Exception.GetType()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public class NPPWarning : WarningException, ISerializable
Constructors
| Improve this Doc View SourceNPPWarning()
Declaration
public NPPWarning()
NPPWarning(NppStatus)
Declaration
public NPPWarning(NppStatus error)
Parameters
Type | Name | Description |
---|---|---|
NppStatus | error |
NPPWarning(NppStatus, String, Exception)
Declaration
public NPPWarning(NppStatus error, string message, Exception exception)
Parameters
Type | Name | Description |
---|---|---|
NppStatus | error | |
System.String | message | |
System.Exception | exception |
NPPWarning(SerializationInfo, StreamingContext)
Declaration
protected NPPWarning(SerializationInfo serInfo, StreamingContext streamingContext)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | serInfo | |
System.Runtime.Serialization.StreamingContext | streamingContext |
NPPWarning(String)
Declaration
public NPPWarning(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
NPPWarning(String, Exception)
Declaration
public NPPWarning(string message, Exception exception)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
System.Exception | exception |
Properties
| Improve this Doc View SourceNppError
Declaration
public NppStatus NppError { get; set; }
Property Value
Type | Description |
---|---|
NppStatus |
Methods
| Improve this Doc View SourceGetObjectData(SerializationInfo, StreamingContext)
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |
Overrides
System.ComponentModel.WarningException.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Exception.ToString()
Implements
System.Runtime.Serialization.ISerializable