PipelineStateInfo.Reason Property   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The reason for the state change, if caused by an error.
public:
 property Exception ^ Reason { Exception ^ get(); };public Exception Reason { get; }member this.Reason : ExceptionPublic ReadOnly Property Reason As ExceptionProperty Value
Remarks
The value of this property is non-null if the state changed due to an error. Otherwise, the value of this property is null.