Class ScriptCanceledException
A localizable exception for a stopped script.
[Serializable]
[Export(typeof(ITranslatableException))]
public class ScriptCanceledException : SystemException, ISerializable, _Exception, ITranslatableException, ITranslatableText, IHasMessageNumber
  - Inheritance
 - 
      
      
      
      ScriptCanceledException
 
- Implements
 
- Inherited Members
 
Constructors
ScriptCanceledException()
Initializes a new instance of the ScriptCanceledException class.
public ScriptCanceledException()
  ScriptCanceledException(Exception)
Initializes a new instance of the ScriptCanceledException class with a inner exception.
public ScriptCanceledException(Exception innerException)
  Parameters
innerExceptionExceptionInner exception.
ScriptCanceledException(SerializationInfo, StreamingContext)
Initializes a new instance of the ScriptCanceledException class.
protected ScriptCanceledException(SerializationInfo info, StreamingContext context)
  Parameters
infoSerializationInfoThe object that holds the serialized object data.
contextStreamingContextThe contextual information about the source or destination.
ScriptCanceledException(string)
Initializes a new instance of the ScriptCanceledException class.
public ScriptCanceledException(string message)
  Parameters
messagestringThe message that describes the error.
ScriptCanceledException(string, Exception)
Initializes a new instance of the ScriptCanceledException class.
public ScriptCanceledException(string message, Exception innerException)
  Parameters
messagestringThe message that describes the error.
innerExceptionExceptionThe exception that is the cause of the current exception. If the innerException parameter is not a null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception.
Properties
Message
Gets the localized exception message.
public override string Message { get; }
  Property Value
MessageNumber
Gets the message number.
public int MessageNumber { get; }
  Property Value
Remarks
Equal with a ID.
Methods
Translate(CultureInfo)
Translates the text.
public string Translate(CultureInfo culture)
  Parameters
cultureCultureInfoCulture for the returning message.
Returns
- string
 Translated message text.