Example #1
0
 internal CompatibleFrameworkMissingException(string message, Uri supportUrl, CompatibleFrameworks compatibleFrameworks)
     : base(message, supportUrl)
 {
     this._compatibleFrameworks = compatibleFrameworks;
 }
Example #2
0
 /// <summary>Initializes a new instance of the <see cref="T:System.Deployment.Application.CompatibleFrameworkMissingException" /> class with serialized data.</summary>
 /// <param name="serializationInfo">The object that holds the serialized object data. </param>
 /// <param name="streamingContext">The contextual information about the source or destination. </param>
 protected CompatibleFrameworkMissingException(SerializationInfo serializationInfo, StreamingContext streamingContext)
     : base(serializationInfo, streamingContext)
 {
     this._compatibleFrameworks = (CompatibleFrameworks)serializationInfo.GetValue("_compatibleFrameworks", typeof(CompatibleFrameworks));
 }