public override void InitializeComInterfaces() { base.InitializeComInterfaces(); if (this.volumePlex == null) { this.volumePlex = InteropHelpers.QueryInterface <IVdsVolumePlex>(base.ComUnknown); if (this.volumePlex == null) { throw new VdsException("QueryInterface for IVdsVolumePlex failed."); } } }
public VolumePlex() { this.refresh = true; this.volumePlex = null; }