Class ResourceException
ResourceException can be used for terminating a program abruptly, specifically associating the problem with a Resource.Depending on the nature of the problem, clients can choose whether or not a call stack should be returned as well. This should be very rare, and would only indicate no usefulness of presenting that stack to the user.
Inheritance
System.Object
System.Exception
ResourceException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
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: Pulumi
Assembly: Pulumi.dll
Syntax
public class ResourceException : Exception, ISerializable
Constructors
View SourceResourceException(String, Resource, Boolean)
Declaration
public ResourceException(string message, Resource resource, bool hideStack = false)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
Resource | resource | |
System.Boolean | hideStack |
Implements
System.Runtime.Serialization.ISerializable