Example The following code is a function that can throw a ServerException if a fatal problem occurs, which causes the MobiLink server to shut down.
Beispiel Der folgende Code ist eine Funktion, die eine ServerException auslösen kann, wenn ein schwerwiegendes Problem auftritt, das den MobiLink-Server veranlasst, herunterzufahren.
Example The following code demonstrates the correct way to handle exceptions in ColdFusion Extension DLL procedures
Beispiel Der folgende Code zeigt, wie Ausnahmen in DLL-Prozeduren von ColdFusion-Erweiterungen behandelt werden
Example The following code lists all the ServerContext's Properties associated with a given script version.
Beispiel Der folgende Code listet alle ServerContext-Eigenschaften auf, die einer bestimmten Skriptversion zugeordnet sind.
Example The following code fills a DataTable with the DataTypes collection.
Beispiel Der folgende Code füllt eine DataTable mit der Restrictions-Sammlung.
Example The following code example displays two forms and exits the application when both forms are closed.
Im folgenden Codebeispiel werden zwei Formulare angezeigt, und die Anwendung wird beendet, wenn beide Formulare geschlossen werden.
Example The following code example shows how to create a custom smart tag in a Word document.
Example The following code fragment returns 1 if a row from the Employees table is fetched successfully, 0 if the row doesn't exist, and -1 if an error occurs.
Das folgende Codefragment gibt zum Beispiel 1 zurück, falls eine Zeile der Tabelle Employees erfolgreich abgerufen wird, 0, falls die Zeile nicht existiert, und -1, falls ein Fehler auftritt.
Example The following code listing illustrates creating a new Duration object, as well as reading values from it.
Example The following code example demonstrates overriding the WndProc method to handle operating system messages identified in the Message structure.
Das folgende Codebeispiel veranschaulicht das Überschreiben der WndProc Methode zur Behandlung von Betriebssystem-Nachrichten gemäß der Message Struktur.
Example The following code example demonstrates how to use the FontConverter to convert a Font to and from a string.
Beispiel Im folgenden Codebeispiel wird veranschaulicht, wie die statische Round-Methode und Truncate-Methode verwendet werden, um eine SizeF in eine Size zu konvertieren.
Contenu potentiellement sensible ou inapproprié
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.