20 references to ErrorBehavior
dotnet-svcutil-lib (20)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (20)
116ContractDescription contract = ImportWsdlPortType(wsdlPortType, WsdlPortTypeImportOptions.ReuseExistingContracts, ErrorBehavior.DoNotThrowExceptions); 135ServiceEndpoint endpoint = ImportWsdlPort(wsdlPort, ErrorBehavior.DoNotThrowExceptions); 156importedBindingContext = ImportWsdlBinding(wsdlBinding, ErrorBehavior.DoNotThrowExceptions); 172return ImportWsdlPortType(wsdlPortType, WsdlPortTypeImportOptions.ReuseExistingContracts, ErrorBehavior.RethrowExceptions); 183return ImportWsdlBinding(wsdlBinding, ErrorBehavior.RethrowExceptions).Endpoint.Binding; 194return ImportWsdlPort(wsdlPort, ErrorBehavior.RethrowExceptions); 208ImportWsdlPortType(wsdlPortType, WsdlPortTypeImportOptions.ReuseExistingContracts, ErrorBehavior.RethrowExceptions); 256ImportWsdlBinding(wsdlBinding, ErrorBehavior.RethrowExceptions); 263ServiceEndpoint endpoint = ImportWsdlPort(wsdlPort, ErrorBehavior.DoNotThrowExceptions); 285ServiceEndpoint endpoint = ImportWsdlPort(wsdlPort, ErrorBehavior.DoNotThrowExceptions); 298private ContractDescription ImportWsdlPortType(WsdlNS.PortType wsdlPortType, WsdlPortTypeImportOptions importOptions, ErrorBehavior errorBehavior) 347LogImportError(wsdlPortType, wie, isWarning: errorBehavior == ErrorBehavior.DoNotThrowExceptions); 348if (errorBehavior == ErrorBehavior.RethrowExceptions) 358private WsdlEndpointConversionContext ImportWsdlBinding(WsdlNS.Binding wsdlBinding, ErrorBehavior errorBehavior) 428LogImportError(wsdlBinding, wie, isWarning: errorBehavior == ErrorBehavior.DoNotThrowExceptions); 429if (errorBehavior == ErrorBehavior.RethrowExceptions) 438private ServiceEndpoint ImportWsdlPort(WsdlNS.Port wsdlPort, ErrorBehavior errorBehavior) 485LogImportError(wsdlPort, wie, isWarning: errorBehavior == ErrorBehavior.DoNotThrowExceptions); 486if (errorBehavior == ErrorBehavior.RethrowExceptions) 581contractDescription = ImportWsdlPortType(wsdlPortType, WsdlPortTypeImportOptions.IgnoreExistingContracts, ErrorBehavior.RethrowExceptions);