public StoreOperationPinDeployment(IDefinitionAppId AppId, StoreApplicationReference Ref) { this.Size = (uint)Marshal.SizeOf(typeof(StoreOperationPinDeployment)); this.Flags = StoreOperationPinDeployment.OpFlags.NeverExpires; this.Application = AppId; this.Reference = Ref.ToIntPtr(); this.ExpirationTime = 0L; }
public StoreOperationPinDeployment(IDefinitionAppId AppId, DateTime Expiry, StoreApplicationReference Ref) { this = new StoreOperationPinDeployment(AppId, Ref); this.Flags = this.Flags | StoreOperationPinDeployment.OpFlags.NeverExpires; }