コード例 #1
0
        public PSStorageJobActionDetails(SchedulerModels.JobActionType jobActionType)
        {
            if (jobActionType != SchedulerModels.JobActionType.StorageQueue)
            {
                throw new ArgumentOutOfRangeException();
            }

            this.JobActionType = jobActionType;
        }
コード例 #2
0
        public PSServiceBusJobActionDetails(SchedulerModels.JobActionType actionType)
        {
            if (actionType != SchedulerModels.JobActionType.ServiceBusQueue &&
                actionType != SchedulerModels.JobActionType.ServiceBusTopic)
            {
                throw new ArgumentOutOfRangeException();
            }

            this.JobActionType = actionType;
        }
コード例 #3
0
        public PSHttpJobActionDetails(SchedulerModels.JobActionType jobActionType)
        {
            if (jobActionType != SchedulerModels.JobActionType.Http &&
                jobActionType != SchedulerModels.JobActionType.Https)
            {
                throw new ArgumentOutOfRangeException();
            }

            this.JobActionType = jobActionType;
        }