Umgang mit Ausnahmen in PHP

Aspose.Tasks - Umgangsvorkommen für Ausnahmen

Um Vorkommen für Ausnahmen mit Aspose.Tasks Java für PHP zu bewältigen, rufen Sie einfach HandleOccurrencesforexceptions -Modul auf. Hier sehen Sie Beispielcode.

 1$ außer = New Calendarexception ();
 2
 3$ außer-> setenteredByOccurrences (true);
 4
 5$ außer-> setOccurrences (5);
 6
 7$ calendarexceptionType = new CalendarexceptionType ();
 8
 9$ aus außer-> setType ($ calendarexceptionTyp-> YearlyByDay);
10
11Druck "Set Ereignisse für Ausnahmen";

Download Running Code

Download Handhabungsvorkommen für Ausnahmen (Aspose.Tasks) Aus einem der folgenden erwähnten Social -Coding -Websites:

Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.