'Declaration<AsyncStateMachineAttribute(DicomObjects.DicomWeb.DicomWebServer/d__21)> Public Function Listen( _ ByVal BaseUri As String, _ Optional ByVal CertificatePath As String, _ Optional ByVal CertificatePassword As String, _ Optional ByVal Async As Boolean, _ Optional ByVal CustomStartup As IStartup _ ) As Task
'UsageDim instance As DicomWebServer Dim BaseUri As String Dim CertificatePath As String Dim CertificatePassword As String Dim Async As Boolean Dim CustomStartup As IStartup Dim value As Task value = instance.Listen(BaseUri, CertificatePath, CertificatePassword, Async, CustomStartup)
[AsyncStateMachine(DicomObjects.DicomWeb.DicomWebServer/d__21)] public Task Listen( string BaseUri, string CertificatePath, string CertificatePassword, bool Async, IStartup CustomStartup )
[AsyncStateMachine(DicomObjects.DicomWeb.DicomWebServer/d__21)] public: Task^ Listen( String^ BaseUri, String^ CertificatePath, String^ CertificatePassword, bool Async, IStartup^ CustomStartup )
Parameters
- BaseUri
- The uri on which the server will be listening on
- CertificatePath
- Absolute path to the Certificate file if need to listen on https
- CertificatePassword
- Password for the server certificate, CertficatePath must also be set
- Async
- Control if DicomWebServer's Async events are fired. Default value is false
- CustomStartup
- Instance of IStartup interface implementation which allows the user to use their own startup class in place of the default implementation