protected override void WriteResult() { TaskLogger.LogEnter(new object[] { this.DataObject.Identity }); ConsumerMailbox consumerMailbox = null; NetID netID = (NetID)base.Fields[ADUserSchema.NetID]; try { using (TaskPerformanceData.ReadResult.StartRequestTimer()) { ADUser aduser = ConsumerMailboxHelper.ReadUser((IRecipientSession)base.DataSession, netID.ToUInt64(), false); if (aduser != null) { consumerMailbox = new ConsumerMailbox(aduser); } } } finally { base.WriteVerbose(TaskVerboseStringHelper.GetSourceVerboseString(base.DataSession)); } if (consumerMailbox == null) { base.WriteError(new ManagementObjectNotFoundException(base.GetErrorMessageObjectNotFound(netID.ToString(), typeof(ConsumerMailbox).ToString(), (base.DataSession != null) ? base.DataSession.Source : null)), (ErrorCategory)1003, netID.ToString()); } using (TaskPerformanceData.WriteResult.StartRequestTimer()) { this.WriteResult(consumerMailbox); } TaskLogger.LogExit(); }
// Token: 0x06000A55 RID: 2645 RVA: 0x00022953 File Offset: 0x00020B53 public MailboxIdParameter(ConsumerMailbox mailbox) : base(mailbox) { }