public DeliveryPoint(byte identity, DeliveryPointType type, E164Number phonenumber, string protocol, string deviceType, string deviceId, string deviceFriendlyName, int p2pMessagingPriority, int m2pMessagingPriority) { this.Identity = identity; this.Type = type; this.PhoneNumber = phonenumber; this.Protocol = protocol; this.DeviceType = deviceType; this.DeviceId = deviceId; this.DeviceFriendlyName = deviceFriendlyName; this.P2pMessagingPriority = p2pMessagingPriority; this.M2pMessagingPriority = m2pMessagingPriority; }
private string Write6_DeliveryPointType(DeliveryPointType v) { string result; switch (v) { case DeliveryPointType.Unknown: result = "Unknown"; break; case DeliveryPointType.ExchangeActiveSync: result = "ExchangeActiveSync"; break; case DeliveryPointType.SmtpToSmsGateway: result = "SmtpToSmsGateway"; break; default: throw base.CreateInvalidEnumValueException(((long)v).ToString(CultureInfo.InvariantCulture), "Microsoft.Exchange.Data.Directory.DeliveryPointType"); } return(result); }
public TextMessagingDeliveryPointState(bool shared, bool p2pEnabled, bool m2pEnabled, DeliveryPointType type, byte id, byte p2pPriority, byte m2pPriority) : base(0) { this.Shared = shared; this.PersonToPersonMessagingEnabled = p2pEnabled; this.MachineToPersonMessagingEnabled = m2pEnabled; this.Type = type; this.Identity = id; this.PersonToPersonMessagingPriority = p2pPriority; this.MachineToPersonMessagingPriority = m2pPriority; }