internal void ResolveFormatNames() { if (this.resolvedFormatNames == null) { this.resolvedFormatNames = new Hashtable(MessageQueuePermission.GetComparer()); foreach (MessageQueuePermissionEntry queuePermissionEntry in (CollectionBase)this.PermissionEntries) { if (queuePermissionEntry.Path != null) { if (queuePermissionEntry.Path == "*") { this.resolvedFormatNames.Add((object)"*", (object)queuePermissionEntry.PermissionAccess); } else { try { this.resolvedFormatNames.Add((object)new MessageQueue(queuePermissionEntry.MachineName, queuePermissionEntry.Path).FormatName, (object)queuePermissionEntry.PermissionAccess); } catch { } } } else { try { MessageQueueCriteria criteria = new MessageQueueCriteria(); if (queuePermissionEntry.MachineName != null) criteria.MachineName = queuePermissionEntry.MachineName; if (queuePermissionEntry.Category != null) criteria.Category = new Guid(queuePermissionEntry.Category); if (queuePermissionEntry.Label != null) criteria.Label = queuePermissionEntry.Label; IEnumerator enumerator = (IEnumerator)MessageQueue.GetMessageQueueEnumerator(criteria, false); while (enumerator.MoveNext()) this.resolvedFormatNames.Add((object)((MessageQueue)enumerator.Current).FormatName, (object)queuePermissionEntry.PermissionAccess); } catch { } } } } }
public static IEnumerator GetMessageQueueEnumerator(MessageQueueCriteria criteria, bool b) { throw new NotImplementedException(); }