public override void InitializeComInterfaces() { base.InitializeComInterfaces(); if (this.port == null) { try { this.port = (IVdsHbaPort)base.ComUnknown; } catch (InvalidCastException exception) { throw new VdsException("QueryInterface for IVdsHbaPort failed.", exception); } } }
public HbaPort() { this.refresh = true; this.port = null; }